Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001865/0.001865, allocations: 74.42 kB / 21.24 MB, free: 0.5352 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.002248/0.002248, allocations: 165.2 kB / 24.5 MB, free: 3.711 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.429/1.429, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.2116/0.2116, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 79.88 kB / 443.2 MB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3226, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1756/0.4981, allocations: 153.9 MB / 0.6476 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00746/0.5056, allocations: 4.918 MB / 0.6524 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.506, allocations: 27.75 kB / 0.6524 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.5069, allocations: 306 kB / 0.6527 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.51, allocations: 1.282 MB / 0.6539 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.5125, allocations: 0.9893 MB / 0.6549 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.5147, allocations: 1.871 MB / 0.6567 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.5153, allocations: 385.6 kB / 0.6571 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.5174, allocations: 1.125 MB / 0.6582 GB, free: 232 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.5185, allocations: 0.689 MB / 0.6589 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.5186, allocations: 60 kB / 0.6589 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5199, allocations: 0.5462 MB / 0.6595 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.5202, allocations: 275.2 kB / 0.6597 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.5206, allocations: 334.6 kB / 0.66 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5223, allocations: 1.308 MB / 0.6613 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5223, allocations: 0 / 0.6613 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5223, allocations: 0 / 0.6613 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5223, allocations: 4 kB / 0.6613 GB, free: 13.02 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.002143/0.5244, allocations: 1.038 MB / 0.6623 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.5245, allocations: 16.03 kB / 0.6624 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.5253, allocations: 139.4 kB / 0.6625 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.5261, allocations: 481.3 kB / 0.6629 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.5263, allocations: 155.8 kB / 0.6631 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.5264, allocations: 48 kB / 0.6631 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5279, allocations: 1.14 MB / 0.6643 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.5279, allocations: 3.938 kB / 0.6643 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.528, allocations: 31.98 kB / 0.6643 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.5281, allocations: 36.92 kB / 0.6643 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5292, allocations: 0.6166 MB / 0.6649 GB, free: 9.086 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.00446/0.5337, allocations: 3.213 MB / 0.6681 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.5343, allocations: 343.6 kB / 0.6684 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5346, allocations: 157.3 kB / 0.6685 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.5347, allocations: 16.27 kB / 0.6686 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5347, allocations: 38.84 kB / 0.6686 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.5347, allocations: 4 kB / 0.6686 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00572/0.5404, allocations: 1.597 MB / 0.6702 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.5405, allocations: 136.5 kB / 0.6703 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.5412, allocations: 0.5338 MB / 0.6708 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.5413, allocations: 29.7 kB / 0.6708 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.5416, allocations: 388.2 kB / 0.6712 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5417, allocations: 158.7 kB / 0.6714 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.542, allocations: 158.6 kB / 0.6715 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.5423, allocations: 370.8 kB / 0.6719 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.5427, allocations: 197.9 kB / 0.6721 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.5435, allocations: 0.5919 MB / 0.6726 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5447, allocations: 0.7513 MB / 0.6734 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.5447, allocations: 4 kB / 0.6734 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001784/0.5465, allocations: 0.8575 MB / 0.6742 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.5465, allocations: 18.22 kB / 0.6742 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5465, allocations: 8 kB / 0.6742 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.5481, allocations: 323.7 kB / 0.6745 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.5485, allocations: 123.8 kB / 0.6747 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.5499, allocations: 0.9368 MB / 0.6756 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.5503, allocations: 31.98 kB / 0.6756 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5504, allocations: 64 kB / 0.6757 GB, free: 13.5 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.0003939/0.5508, allocations: 253.5 kB / 0.6759 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.551, allocations: 59.62 kB / 0.676 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.5527, allocations: 0.8615 MB / 0.6768 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5527, allocations: 8 kB / 0.6768 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.5527, allocations: 4 kB / 0.6768 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5527, allocations: 0 / 0.6768 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5549, allocations: 1.075 MB / 0.6779 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5549, allocations: 3.938 kB / 0.6779 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.556, allocations: 215.9 kB / 0.6781 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.373e-05/0.5561, allocations: 28.78 kB / 0.6781 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.5561, allocations: 19.98 kB / 0.6781 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.5586, allocations: 2.621 MB / 0.6807 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5586, allocations: 0 / 0.6807 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.56, allocations: 0.8223 MB / 0.6815 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.5602, allocations: 107.5 kB / 0.6816 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.5603, allocations: 12.31 kB / 0.6816 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.5607, allocations: 23.92 kB / 0.6816 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.5608, allocations: 35.95 kB / 0.6817 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.5609, allocations: 51.91 kB / 0.6817 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005/0.5614, allocations: 358.8 kB / 0.682 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5614, allocations: 0 / 0.682 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009573/0.5623, allocations: 255.8 kB / 0.6823 GB, free: 6.383 MB / 0.5762 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.0006785/0.563, allocations: 282.7 kB / 0.6826 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.5642, allocations: 0.5378 MB / 0.6831 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5642, allocations: 1.5 kB / 0.6831 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5653, allocations: 410.7 kB / 0.6835 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.5667, allocations: 294.2 kB / 0.6838 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.5692, allocations: 1.336 MB / 0.6851 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5696, allocations: 336.3 kB / 0.6854 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001038/0.5706, allocations: 461.8 kB / 0.6858 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.571, allocations: 112.4 kB / 0.6859 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.571, allocations: 0 / 0.6859 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.242/0.8129, allocations: 15.73 MB / 0.7013 GB, free: 165.1 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.967926493962295]