Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.00153/0.00153, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001884/0.001884, allocations: 206.8 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 46.96 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1951/0.5458, allocations: 153.9 MB / 0.7109 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007968/0.5537, allocations: 4.914 MB / 0.7157 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.5544, allocations: 31.69 kB / 0.7157 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.5553, allocations: 310 kB / 0.716 GB, free: 4.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.5585, allocations: 1.291 MB / 0.7173 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.561, allocations: 0.9851 MB / 0.7182 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.5633, allocations: 1.871 MB / 0.7201 GB, free: 380 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.5639, allocations: 397.6 kB / 0.7204 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.5662, allocations: 1.113 MB / 0.7215 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5673, allocations: 0.7162 MB / 0.7222 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.5674, allocations: 60 kB / 0.7223 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.5686, allocations: 0.5618 MB / 0.7228 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.5689, allocations: 275.2 kB / 0.7231 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.5693, allocations: 334.6 kB / 0.7234 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.571, allocations: 1.304 MB / 0.7247 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.571, allocations: 0 / 0.7247 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.571, allocations: 4 kB / 0.7247 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.571, allocations: 0 / 0.7247 GB, free: 11.61 MB / 0.5606 GB 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.002198/0.5732, allocations: 1.045 MB / 0.7257 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5733, allocations: 15.97 kB / 0.7257 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.5734, allocations: 98.5 kB / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008246/0.5742, allocations: 143.4 kB / 0.726 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.5751, allocations: 469.5 kB / 0.7264 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.5753, allocations: 159.8 kB / 0.7266 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5754, allocations: 48 kB / 0.7266 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.5768, allocations: 1.14 MB / 0.7277 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5769, allocations: 4 kB / 0.7277 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.5769, allocations: 23.98 kB / 0.7277 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.577, allocations: 48.91 kB / 0.7278 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5781, allocations: 0.6165 MB / 0.7284 GB, free: 7.57 MB / 0.5606 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.004481/0.5825, allocations: 3.297 MB / 0.7316 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.5831, allocations: 335.6 kB / 0.7319 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.5834, allocations: 165.3 kB / 0.7321 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.5835, allocations: 16.28 kB / 0.7321 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.5835, allocations: 42.78 kB / 0.7321 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.5835, allocations: 0 / 0.7321 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005699/0.5892, allocations: 1.598 MB / 0.7337 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.5893, allocations: 140.5 kB / 0.7338 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.5901, allocations: 0.6326 MB / 0.7345 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.5901, allocations: 37.7 kB / 0.7345 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.5904, allocations: 375.8 kB / 0.7348 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.5906, allocations: 146.8 kB / 0.735 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.5908, allocations: 154.6 kB / 0.7351 GB, free: 408 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.591, allocations: 378.8 kB / 0.7355 GB, free: 20 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2583/0.8493, allocations: 204.4 kB / 0.7357 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.8499, allocations: 0.5858 MB / 0.7363 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.851, allocations: 0.7549 MB / 0.737 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.851, allocations: 2.844 kB / 0.737 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001684/0.8527, allocations: 0.8743 MB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.8527, allocations: 13.78 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8527, allocations: 9.312 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.8541, allocations: 315.8 kB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.8545, allocations: 128.5 kB / 0.7383 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.8554, allocations: 0.9272 MB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.856, allocations: 29.8 kB / 0.7392 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.856, allocations: 68.98 kB / 0.7393 GB, free: 173.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.8564, allocations: 253.5 kB / 0.7395 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.8565, allocations: 74.59 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.8579, allocations: 0.8642 MB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8579, allocations: 3.719 kB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.8579, allocations: 3.719 kB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8579, allocations: 2.016 kB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.8595, allocations: 1.135 MB / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8595, allocations: 0 / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.8606, allocations: 213 kB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.8607, allocations: 32.39 kB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.8607, allocations: 16 kB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.862, allocations: 2.674 MB / 0.7444 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.862, allocations: 0 / 0.7444 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.8629, allocations: 0.8277 MB / 0.7452 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.8632, allocations: 114 kB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/0.8633, allocations: 12 kB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.8637, allocations: 15.66 kB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.8638, allocations: 42.61 kB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.8638, allocations: 43.56 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003908/0.8642, allocations: 441.9 kB / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.8642, allocations: 0 / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008174/0.865, allocations: 265.7 kB / 0.7461 GB, free: 167.8 MB / 0.5606 GB 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001616/0.8666, allocations: 1.523 MB / 0.7476 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.8676, allocations: 0.5363 MB / 0.7481 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8676, allocations: 8.062 kB / 0.7482 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.8685, allocations: 397.6 kB / 0.7485 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.87, allocations: 370 kB / 0.7489 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.8763, allocations: 6.345 MB / 0.7551 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.8766, allocations: 340.4 kB / 0.7554 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008572/0.8774, allocations: 458.2 kB / 0.7558 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.8778, allocations: 287.3 kB / 0.7561 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.8778, allocations: 0 / 0.7561 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/0.9306, allocations: 25.89 MB / 0.7814 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.34, allocations: 4.062 kB / 0.7814 GB, free: 131.9 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 17.553212839004118]