Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 63.97 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1082, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003515/0.1118, allocations: 1.585 MB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1129, allocations: 0.5744 MB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.113, allocations: 4 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.113, allocations: 3.938 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.1132, allocations: 7.875 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1135, allocations: 51.81 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.1136, allocations: 63.78 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1137, allocations: 15.98 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.1138, allocations: 31.84 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1138, allocations: 23.86 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1139, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1141, allocations: 47.95 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1141, allocations: 11.98 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1142, allocations: 39.73 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1144, allocations: 87.7 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005472/0.115, allocations: 375.4 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.115, allocations: 15.97 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.1151, allocations: 38.73 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.1156, allocations: 56.78 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1158, allocations: 176.2 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.1158, allocations: 8.375 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1158, allocations: 8.375 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1161, allocations: 104.6 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1161, allocations: 0 / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1162, allocations: 0 / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1162, allocations: 4 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1164, allocations: 71.94 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.1172, allocations: 372.4 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1174, allocations: 70.53 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1175, allocations: 28.97 kB / 361.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1176, allocations: 4 kB / 361.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1176, allocations: 38.48 kB / 361.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1176, allocations: 4 kB / 361.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004665/0.1181, allocations: 117.6 kB / 361.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1181, allocations: 55.39 kB / 361.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1183, allocations: 129.5 kB / 361.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1183, allocations: 25.7 kB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1183, allocations: 104.1 kB / 361.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1184, allocations: 15.75 kB / 361.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1184, allocations: 25.64 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1186, allocations: 318.8 kB / 362.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1187, allocations: 23.97 kB / 362.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1188, allocations: 23.98 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.119, allocations: 73.12 kB / 362.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1191, allocations: 0 / 362.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002524/0.1193, allocations: 93.56 kB / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1193, allocations: 4 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1194, allocations: 3.984 kB / 362.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1194, allocations: 3.938 kB / 362.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1195, allocations: 15.98 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1196, allocations: 4 kB / 362.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.1197, allocations: 15.98 kB / 362.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1197, allocations: 4 kB / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.1198, allocations: 121.7 kB / 362.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1198, allocations: 3.906 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.1202, allocations: 113.5 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1202, allocations: 0 / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1202, allocations: 0 / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1202, allocations: 7.938 kB / 362.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1205, allocations: 189.6 kB / 362.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1205, allocations: 0 / 362.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1206, allocations: 19.98 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1206, allocations: 0 / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1206, allocations: 7.922 kB / 363 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1206, allocations: 3.938 kB / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1206, allocations: 0 / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.121, allocations: 199.5 kB / 363.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.121, allocations: 85.11 kB / 363.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1211, allocations: 11.92 kB / 363.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1212, allocations: 4 kB / 363.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1212, allocations: 7.984 kB / 363.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1212, allocations: 7.984 kB / 363.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.237e-05/0.1213, allocations: 99.27 kB / 363.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1213, allocations: 0 / 363.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1216, allocations: 15.91 kB / 363.4 MB, free: 7.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006944/0.1223, allocations: 0.767 MB / 364.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.1226, allocations: 67.89 kB / 364.2 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1226, allocations: 0 / 364.2 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1227, allocations: 39.91 kB / 364.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.123, allocations: 8 kB / 364.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1247, allocations: 1.463 MB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1249, allocations: 0.6924 MB / 366.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.125, allocations: 0 / 366.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.125, allocations: 31.42 kB / 366.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.125, allocations: 0 / 366.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1424, allocations: 1.859 MB / 368.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/7.934, allocations: 7.562 kB / 368.3 MB, free: 2.855 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches