Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001016/0.001016, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001612/0.001612, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9228/0.9228, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1407/0.1407, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.982e-05, allocations: 10.02 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3141/0.3141, allocations: 127.3 MB / 0.5216 GB, free: 26.08 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006603/0.3207, allocations: 5.158 MB / 0.5267 GB, free: 22.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3222, allocations: 28.19 kB / 0.5267 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.3237, allocations: 326.2 kB / 0.527 GB, free: 22.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.3259, allocations: 0.9077 MB / 0.5279 GB, free: 21.9 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.3289, allocations: 1.072 MB / 0.5289 GB, free: 21.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.3312, allocations: 1.837 MB / 0.5307 GB, free: 20.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.3319, allocations: 408.1 kB / 0.5311 GB, free: 20.35 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.3334, allocations: 0.9895 MB / 0.5321 GB, free: 19.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.3344, allocations: 0.6876 MB / 0.5327 GB, free: 19.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3345, allocations: 62.5 kB / 0.5328 GB, free: 19.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009029/0.3354, allocations: 488.8 kB / 0.5333 GB, free: 19.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3356, allocations: 286.1 kB / 0.5335 GB, free: 19.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.3359, allocations: 292.7 kB / 0.5338 GB, free: 19.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.3373, allocations: 1.178 MB / 0.535 GB, free: 18.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3373, allocations: 2.625 kB / 0.535 GB, free: 18.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3373, allocations: 0 / 0.535 GB, free: 18.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3373, allocations: 1.375 kB / 0.535 GB, free: 18.94 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001477/0.3388, allocations: 0.9855 MB / 0.5359 GB, free: 18.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3388, allocations: 13.25 kB / 0.536 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.886e-05/0.3389, allocations: 102.3 kB / 0.536 GB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3391, allocations: 94.73 kB / 0.5361 GB, free: 18.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.3397, allocations: 484.5 kB / 0.5366 GB, free: 17.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.3398, allocations: 151.7 kB / 0.5367 GB, free: 17.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.3399, allocations: 48 kB / 0.5368 GB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.3407, allocations: 1.173 MB / 0.5379 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3407, allocations: 7.891 kB / 0.5379 GB, free: 16.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.3408, allocations: 24.19 kB / 0.538 GB, free: 16.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.3408, allocations: 41.06 kB / 0.538 GB, free: 16.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.3414, allocations: 0.6597 MB / 0.5387 GB, free: 16.57 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.3437, allocations: 3.147 MB / 0.5417 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.3442, allocations: 408.3 kB / 0.5421 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.3444, allocations: 192 kB / 0.5423 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.3446, allocations: 61.84 kB / 0.5424 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3446, allocations: 41.17 kB / 0.5424 GB, free: 13.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/0.3446, allocations: 0 / 0.5424 GB, free: 13.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.0023/0.3469, allocations: 1.413 MB / 0.5438 GB, free: 13.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.347, allocations: 137.1 kB / 0.5439 GB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.3474, allocations: 0.5843 MB / 0.5445 GB, free: 12.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3474, allocations: 36.83 kB / 0.5445 GB, free: 12.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3476, allocations: 357.2 kB / 0.5449 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.3476, allocations: 174 kB / 0.545 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3477, allocations: 138.4 kB / 0.5452 GB, free: 12.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.3478, allocations: 375.8 kB / 0.5455 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.348, allocations: 213.4 kB / 0.5457 GB, free: 11.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.3483, allocations: 0.5924 MB / 0.5463 GB, free: 11.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.3488, allocations: 0.7656 MB / 0.547 GB, free: 10.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3488, allocations: 2.844 kB / 0.547 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009005/0.3497, allocations: 0.9083 MB / 0.5479 GB, free: 10.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3498, allocations: 10.88 kB / 0.5479 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3498, allocations: 15.52 kB / 0.548 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.3505, allocations: 282 kB / 0.5482 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3507, allocations: 126.3 kB / 0.5483 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/0.3512, allocations: 0.8888 MB / 0.5492 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3514, allocations: 27.78 kB / 0.5492 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3515, allocations: 39.77 kB / 0.5493 GB, free: 9.594 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.3517, allocations: 240.2 kB / 0.5495 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.3517, allocations: 74.39 kB / 0.5496 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.3524, allocations: 0.7022 MB / 0.5503 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3525, allocations: 5.094 kB / 0.5503 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3525, allocations: 0 / 0.5503 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3525, allocations: 2.016 kB / 0.5503 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3535, allocations: 1.236 MB / 0.5515 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3535, allocations: 8.094 kB / 0.5515 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.354, allocations: 198.2 kB / 0.5517 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/0.3541, allocations: 26.66 kB / 0.5517 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3541, allocations: 15.42 kB / 0.5517 GB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/0.3549, allocations: 2.66 MB / 0.5543 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3549, allocations: 5.094 kB / 0.5543 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.3557, allocations: 0.9437 MB / 0.5552 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.3559, allocations: 128 kB / 0.5554 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.3559, allocations: 13.81 kB / 0.5554 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3561, allocations: 15.62 kB / 0.5554 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.3562, allocations: 45.23 kB / 0.5554 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.3562, allocations: 24.3 kB / 0.5555 GB, free: 4.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3565, allocations: 427.9 kB / 0.5559 GB, free: 4.734 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3565, allocations: 0 / 0.5559 GB, free: 4.734 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005519/0.357, allocations: 221.2 kB / 0.5561 GB, free: 4.695 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.3583, allocations: 1.659 MB / 0.5577 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.359, allocations: 0.5837 MB / 0.5583 GB, free: 3.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.359, allocations: 1.625 kB / 0.5583 GB, free: 3.207 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.3596, allocations: 443.8 kB / 0.5587 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.3605, allocations: 377 kB / 0.559 GB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.3667, allocations: 6.415 MB / 0.5653 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3669, allocations: 340.1 kB / 0.5656 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005461/0.3675, allocations: 215.6 kB / 0.5658 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.3677, allocations: 236.5 kB / 0.5661 GB, free: 13.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3677, allocations: 0 / 0.5661 GB, free: 13.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.4075, allocations: 24.21 MB / 0.5897 GB, free: 6.445 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.835/9.243, allocations: 3.938 kB / 0.5897 GB, free: 6.441 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 11.470083098858595]