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.00124/0.00124, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001421/0.001421, allocations: 208.7 kB / 24.48 MB, free: 3.969 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.495/1.495, allocations: 230.6 MB / 258.3 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.2303/0.2303, allocations: 46.96 MB / 361.6 MB, free: 4.031 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2022/0.5274, allocations: 153.9 MB / 0.7121 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.5359, allocations: 4.918 MB / 0.7169 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007649/0.5367, allocations: 27.75 kB / 0.7169 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.5376, allocations: 302 kB / 0.7172 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.5411, allocations: 1.293 MB / 0.7185 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.5436, allocations: 0.989 MB / 0.7194 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.546, allocations: 1.883 MB / 0.7213 GB, free: 304 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.5466, allocations: 393.6 kB / 0.7217 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.5489, allocations: 1.117 MB / 0.7228 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.5499, allocations: 0.7085 MB / 0.7234 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.55, allocations: 60 kB / 0.7235 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.5514, allocations: 0.5673 MB / 0.7241 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.5517, allocations: 271.2 kB / 0.7243 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.552, allocations: 330.6 kB / 0.7246 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.5537, allocations: 1.308 MB / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5537, allocations: 0 / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5537, allocations: 7.938 kB / 0.7259 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5538, allocations: 0 / 0.7259 GB, free: 11.54 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.002331/0.5561, allocations: 1.038 MB / 0.7269 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5561, allocations: 12.03 kB / 0.7269 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.557, allocations: 143.4 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.558, allocations: 477.4 kB / 0.7275 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.5581, allocations: 155.8 kB / 0.7277 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.5582, allocations: 48 kB / 0.7277 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.5598, allocations: 1.14 MB / 0.7288 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5598, allocations: 4 kB / 0.7288 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.5599, allocations: 28 kB / 0.7289 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.646e-05/0.5599, allocations: 48.84 kB / 0.7289 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.561, allocations: 0.6088 MB / 0.7295 GB, free: 7.617 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.004663/0.5657, allocations: 3.223 MB / 0.7327 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.5663, allocations: 331.7 kB / 0.733 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.5666, allocations: 157.3 kB / 0.7331 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.409e-05/0.5667, allocations: 20.22 kB / 0.7331 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5668, allocations: 42.84 kB / 0.7332 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.5668, allocations: 0 / 0.7332 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005789/0.5726, allocations: 1.602 MB / 0.7348 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.5727, allocations: 132.5 kB / 0.7349 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.5733, allocations: 0.5298 MB / 0.7354 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.5734, allocations: 41.69 kB / 0.7354 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.5737, allocations: 384.2 kB / 0.7358 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.5738, allocations: 154.7 kB / 0.7359 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.5741, allocations: 158.6 kB / 0.7361 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5743, allocations: 362.8 kB / 0.7364 GB, free: 264 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.5747, allocations: 209.8 kB / 0.7366 GB, free: 52 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.253/0.8277, allocations: 0.5807 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.8287, allocations: 0.7543 MB / 0.738 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.8287, allocations: 3.25 kB / 0.738 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001773/0.8305, allocations: 0.8727 MB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.8306, allocations: 8.969 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.8306, allocations: 10.09 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.8321, allocations: 310.4 kB / 0.7391 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.8325, allocations: 123.1 kB / 0.7392 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009642/0.8335, allocations: 0.9423 MB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.834, allocations: 21.94 kB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.8341, allocations: 70.14 kB / 0.7402 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.0003154/0.8344, allocations: 245.5 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.8345, allocations: 63.22 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.8359, allocations: 0.8594 MB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.8359, allocations: 1.875 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8359, allocations: 0 / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.8362, allocations: 104.1 kB / 0.7415 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.8363, allocations: 12.61 kB / 0.7415 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.8366, allocations: 13.38 kB / 0.7415 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.8367, allocations: 38 kB / 0.7415 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001538/0.8383, allocations: 0.6232 MB / 0.7421 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009162/0.8392, allocations: 0.8129 MB / 0.7429 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002381/0.8394, allocations: 178.9 kB / 0.7431 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003027/0.8397, allocations: 355.5 kB / 0.7435 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/0.8397, allocations: 0 / 0.7435 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.8415, allocations: 0.7217 MB / 0.7442 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002102/0.8436, allocations: 1.858 MB / 0.746 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.02105/0.8646, allocations: 18.04 MB / 0.7636 GB, free: 151.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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: 5.878062637995754]