Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.243e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002056/0.002078, allocations: 1.587 MB / 326.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.002815, allocations: 0.5415 MB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.002867, allocations: 0 / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.0029, allocations: 7.875 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.002971, allocations: 15.86 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.00321, allocations: 51.77 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.003286, allocations: 51.84 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003397, allocations: 19.98 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.003446, allocations: 31.91 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.003494, allocations: 23.91 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.003509, allocations: 4 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.003695, allocations: 51.89 kB / 327 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.00371, allocations: 11.92 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.003732, allocations: 15.94 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.00387, allocations: 99.61 kB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003873, allocations: 0 / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003874, allocations: 0 / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003878, allocations: 0 / 327.1 MB, free: 13.42 MB / 298.7 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.0004022/0.00428, allocations: 305.3 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004317, allocations: 12.03 kB / 327.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.004376, allocations: 46.64 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.004614, allocations: 52.83 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.004689, allocations: 113.7 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.00471, allocations: 8.375 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.004722, allocations: 4.375 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.004883, allocations: 106 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004889, allocations: 192 / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.0049, allocations: 8.125 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.004904, allocations: 4 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.00503, allocations: 67.95 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.005435, allocations: 315.7 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.005686, allocations: 70.53 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.005742, allocations: 36.95 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.005754, allocations: 0 / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.00577, allocations: 34.56 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.005772, allocations: 3.984 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000249/0.006021, allocations: 129.5 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.006056, allocations: 51.41 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.006127, allocations: 122 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.006137, allocations: 29.64 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.006179, allocations: 100 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.006198, allocations: 23.8 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.00623, allocations: 25.7 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004862/0.006717, allocations: 314.8 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.00677, allocations: 27.98 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.006819, allocations: 27.97 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.006919, allocations: 60.77 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006921, allocations: 384 / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.007061, allocations: 101.6 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.007073, allocations: 8 kB / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.007077, allocations: 0 / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007088, allocations: 0 / 329.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.007164, allocations: 15.98 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.007171, allocations: 3.938 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.007206, allocations: 11.98 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.007214, allocations: 7.984 kB / 329.3 MB, free: 11.02 MB / 298.7 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 5.986e-05/0.007274, allocations: 113.8 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.00729, allocations: 7.953 kB / 329.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.007471, allocations: 113.7 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007473, allocations: 3.938 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007478, allocations: 0 / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.007482, allocations: 7.938 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.007609, allocations: 152.7 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007609, allocations: 4 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.007652, allocations: 19.98 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.007655, allocations: 0 / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.007663, allocations: 4 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007664, allocations: 0 / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007665, allocations: 4 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.007822, allocations: 199.3 kB / 329.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.007831, allocations: 7.953 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.007842, allocations: 4 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.007888, allocations: 11.98 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.007907, allocations: 3.938 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007912, allocations: 8.172 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.007952, allocations: 95.27 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007952, allocations: 0 / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.008097, allocations: 15.94 kB / 330 MB, free: 10.19 MB / 298.7 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.0004426/0.00854, allocations: 0.7631 MB / 330.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.00868, allocations: 63.98 kB / 330.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.008683, allocations: 4 kB / 330.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.008732, allocations: 39.86 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.008942, allocations: 10.73 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.00998, allocations: 1.481 MB / 332.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.01003, allocations: 83.53 kB / 332.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.01006, allocations: 8 kB / 332.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.01011, allocations: 24.48 kB / 332.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01011, allocations: 4 kB / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.02422, allocations: 2.608 MB / 335.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/6.886, allocations: 6.797 kB / 335.1 MB, free: 5.094 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.634729162789881]