Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001274/0.001274, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001464/0.001464, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 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 1.418/1.418, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.89 MB / 361.1 MB, free: 4.66 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 75.88 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3664, allocations: 65.98 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2246/0.591, allocations: 178.1 MB / 0.7351 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3588/0.9498, allocations: 5.371 MB / 0.7404 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.9505, allocations: 21.66 kB / 0.7404 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.9514, allocations: 321.2 kB / 0.7407 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.9547, allocations: 1.277 MB / 0.7419 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.9574, allocations: 0.9708 MB / 0.7429 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.9596, allocations: 1.858 MB / 0.7447 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.9602, allocations: 394.6 kB / 0.7451 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.9622, allocations: 1.102 MB / 0.7462 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008756/0.9631, allocations: 0.7062 MB / 0.7468 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.9632, allocations: 58.91 kB / 0.7469 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.9645, allocations: 0.6399 MB / 0.7475 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.9647, allocations: 265 kB / 0.7478 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.9651, allocations: 397.7 kB / 0.7482 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.9667, allocations: 1.307 MB / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9667, allocations: 4.5 kB / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9667, allocations: 0 / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.9668, allocations: 0 / 0.7494 GB, free: 1.59 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.00236/0.9691, allocations: 1.126 MB / 0.7505 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9692, allocations: 9.438 kB / 0.7505 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.97, allocations: 139 kB / 0.7507 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.9709, allocations: 0.5335 MB / 0.7512 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.971, allocations: 103.5 kB / 0.7513 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.9711, allocations: 51.97 kB / 0.7513 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.9722, allocations: 0.8172 MB / 0.7521 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.9722, allocations: 5.719 kB / 0.7521 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.9723, allocations: 22.59 kB / 0.7522 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.9723, allocations: 42.42 kB / 0.7522 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.9732, allocations: 0.6224 MB / 0.7528 GB, free: 16.37 MB / 0.5762 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.004341/0.9775, allocations: 3.946 MB / 0.7567 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.978, allocations: 340.4 kB / 0.757 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.9782, allocations: 164.2 kB / 0.7572 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.9784, allocations: 85.77 kB / 0.7572 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.9784, allocations: 42.94 kB / 0.7573 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.9784, allocations: 0.875 kB / 0.7573 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005302/0.9837, allocations: 1.688 MB / 0.7589 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.9838, allocations: 137.5 kB / 0.7591 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.9844, allocations: 0.6105 MB / 0.7597 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.9845, allocations: 35.7 kB / 0.7597 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.9847, allocations: 376.7 kB / 0.76 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.9848, allocations: 150.9 kB / 0.7602 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.9849, allocations: 157.1 kB / 0.7603 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.9852, allocations: 377 kB / 0.7607 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.9855, allocations: 202.5 kB / 0.7609 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.9861, allocations: 0.5153 MB / 0.7614 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.987, allocations: 0.7486 MB / 0.7621 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.987, allocations: 1.203 kB / 0.7621 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001259/0.9882, allocations: 0.8873 MB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9883, allocations: 10.59 kB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.9883, allocations: 11.75 kB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.9896, allocations: 308.3 kB / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.9899, allocations: 125.8 kB / 0.7634 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.991, allocations: 0.9355 MB / 0.7643 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.9915, allocations: 29.52 kB / 0.7644 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.9916, allocations: 69.59 kB / 0.7644 GB, free: 10.75 MB / 0.5762 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.0003589/0.9919, allocations: 248.3 kB / 0.7647 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9921, allocations: 70.36 kB / 0.7647 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.9935, allocations: 0.8615 MB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.9935, allocations: 2.906 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.9935, allocations: 4.969 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.9938, allocations: 183 kB / 0.7658 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.9939, allocations: 13.47 kB / 0.7658 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.9943, allocations: 17.88 kB / 0.7658 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.9943, allocations: 34.25 kB / 0.7658 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001424/0.9958, allocations: 0.6218 MB / 0.7664 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00106/0.9968, allocations: 0.8318 MB / 0.7672 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002373/0.9971, allocations: 171.8 kB / 0.7674 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004434/0.9975, allocations: 442.2 kB / 0.7678 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of Backend: time 3.2e-07/0.9975, allocations: 0.9062 kB / 0.7678 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.9997, allocations: 0.7276 MB / 0.7685 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003013/1.003, allocations: 1.94 MB / 0.7704 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.03234/1.035, allocations: 18.85 MB / 0.7888 GB, free: 4.418 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.94373185466975]