Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8911/0.8911, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2539/0.2539, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 3.938 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.975e-05, allocations: 2.281 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3542/0.3542, allocations: 168.6 MB / 0.5965 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007497/0.3617, allocations: 6.829 MB / 0.6031 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.3621, allocations: 27.75 kB / 0.6032 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.3629, allocations: 417.3 kB / 0.6036 GB, free: 496 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.3676, allocations: 2.459 MB / 0.606 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.3719, allocations: 2.408 MB / 0.6083 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3736, allocations: 2.231 MB / 0.6105 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/0.3741, allocations: 0.5133 MB / 0.611 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.3772, allocations: 2.153 MB / 0.6131 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008467/0.3781, allocations: 0.8494 MB / 0.6139 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3782, allocations: 92 kB / 0.614 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005491/0.3837, allocations: 4.3 MB / 0.6182 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.384, allocations: 458.8 kB / 0.6187 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.3846, allocations: 403.2 kB / 0.619 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.3889, allocations: 4.11 MB / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3889, allocations: 4 kB / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3889, allocations: 0 / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3889, allocations: 0 / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002431/0.3914, allocations: 1.693 MB / 0.6247 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3914, allocations: 8.031 kB / 0.6247 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3915, allocations: 122.5 kB / 0.6248 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.3918, allocations: 126.6 kB / 0.625 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.3926, allocations: 0.5558 MB / 0.6255 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3927, allocations: 168.8 kB / 0.6257 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3928, allocations: 67.98 kB / 0.6257 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3945, allocations: 1.564 MB / 0.6273 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3945, allocations: 7.938 kB / 0.6273 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.3946, allocations: 28 kB / 0.6273 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.3946, allocations: 57.97 kB / 0.6273 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3959, allocations: 1.159 MB / 0.6285 GB, free: 6.668 MB / 0.5261 GB 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.004/0.3999, allocations: 3.805 MB / 0.6322 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4013, allocations: 0.7834 MB / 0.633 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.4017, allocations: 402.6 kB / 0.6333 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.4021, allocations: 216.5 kB / 0.6336 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4021, allocations: 43.22 kB / 0.6336 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 1.944e-06/0.4021, allocations: 0 / 0.6336 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.2248/0.6269, allocations: 3.938 MB / 0.6374 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.6269, allocations: 115.6 kB / 0.6375 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.6274, allocations: 0.6739 MB / 0.6382 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.6275, allocations: 43.67 kB / 0.6382 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6276, allocations: 385.5 kB / 0.6386 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.6278, allocations: 303.8 kB / 0.6389 GB, free: 164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.628, allocations: 206.1 kB / 0.6391 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.6281, allocations: 390.9 kB / 0.6395 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.6287, allocations: 493.2 kB / 0.6399 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/0.6294, allocations: 0.8048 MB / 0.6407 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.6308, allocations: 1.283 MB / 0.642 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6308, allocations: 2.906 kB / 0.642 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002158/0.6329, allocations: 1.661 MB / 0.6436 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.6329, allocations: 5.781 kB / 0.6436 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.633, allocations: 12.59 kB / 0.6436 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/0.6365, allocations: 1.31 MB / 0.6449 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.6368, allocations: 151.3 kB / 0.6451 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.6384, allocations: 1.531 MB / 0.6465 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.6388, allocations: 55.83 kB / 0.6466 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.6389, allocations: 54.52 kB / 0.6467 GB, free: 160.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.6392, allocations: 302.7 kB / 0.6469 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6394, allocations: 85.92 kB / 0.647 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.6413, allocations: 1.678 MB / 0.6487 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6413, allocations: 13.81 kB / 0.6487 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6413, allocations: 2.906 kB / 0.6487 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6413, allocations: 3.422 kB / 0.6487 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.6438, allocations: 2.372 MB / 0.651 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6438, allocations: 6.094 kB / 0.651 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.6444, allocations: 258.6 kB / 0.6512 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008329/0.6453, allocations: 378 kB / 0.6516 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.6453, allocations: 32.48 kB / 0.6516 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.6465, allocations: 2.233 MB / 0.6538 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6465, allocations: 7.312 kB / 0.6538 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.6486, allocations: 2.035 MB / 0.6558 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.6489, allocations: 220.3 kB / 0.656 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.649, allocations: 33.14 kB / 0.6561 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.6494, allocations: 47.94 kB / 0.6561 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6495, allocations: 69.39 kB / 0.6562 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.6496, allocations: 44.73 kB / 0.6562 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004057/0.65, allocations: 0.497 MB / 0.6567 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.65, allocations: 0 / 0.6567 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001678/0.6516, allocations: 0.693 MB / 0.6574 GB, free: 155 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003173/0.6548, allocations: 3.335 MB / 0.6606 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.6562, allocations: 1.187 MB / 0.6618 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6562, allocations: 3.031 kB / 0.6618 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.6571, allocations: 0.6974 MB / 0.6625 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.6583, allocations: 0.5234 MB / 0.663 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6686, allocations: 9.613 MB / 0.6724 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.6691, allocations: 460.1 kB / 0.6728 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007739/0.6699, allocations: 367.5 kB / 0.6732 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.6702, allocations: 336.6 kB / 0.6735 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.6702, allocations: 0 / 0.6735 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/0.7237, allocations: 45.18 MB / 0.7176 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.963/9.687, allocations: 3.953 kB / 0.7176 GB, free: 118.8 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.965169220231473]