Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001455/0.001455, allocations: 109 kB / 20.45 MB, free: 1.52 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.001624/0.001624, allocations: 212 kB / 23.76 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.23 MB / 331 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.89 kB / 468.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 61.03 MB / 0.5174 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3972/0.513, allocations: 148.3 MB / 0.6622 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00776/0.5207, allocations: 5.633 MB / 0.6677 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006187/0.5213, allocations: 27.75 kB / 0.6677 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.5223, allocations: 337.9 kB / 0.668 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.5243, allocations: 0.8824 MB / 0.6689 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.5269, allocations: 1.042 MB / 0.6699 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.5292, allocations: 1.833 MB / 0.6717 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.5299, allocations: 401.5 kB / 0.6721 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.5312, allocations: 0.767 MB / 0.6728 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5323, allocations: 0.7592 MB / 0.6735 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.5324, allocations: 64 kB / 0.6736 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.5335, allocations: 0.5498 MB / 0.6741 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.5338, allocations: 279.1 kB / 0.6744 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.5342, allocations: 398.2 kB / 0.6748 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.5357, allocations: 1.136 MB / 0.6759 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5357, allocations: 0 / 0.6759 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5357, allocations: 0 / 0.6759 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.5357, allocations: 4 kB / 0.6759 GB, free: 1.086 MB / 0.4981 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.001999/0.5377, allocations: 0.9989 MB / 0.6769 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5377, allocations: 12.02 kB / 0.6769 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.5381, allocations: 92.52 kB / 0.677 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.5389, allocations: 498.6 kB / 0.6775 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.5391, allocations: 152.4 kB / 0.6776 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.514e-05/0.5392, allocations: 52.52 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.5404, allocations: 0.8149 MB / 0.6784 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5404, allocations: 3.938 kB / 0.6785 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.5405, allocations: 24 kB / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.5405, allocations: 41.67 kB / 0.6785 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5416, allocations: 0.6556 MB / 0.6792 GB, free: 13.61 MB / 0.5137 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.004627/0.5462, allocations: 3.916 MB / 0.683 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.547, allocations: 413 kB / 0.6834 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.5473, allocations: 189.4 kB / 0.6836 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.5476, allocations: 64.27 kB / 0.6836 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.5476, allocations: 42.89 kB / 0.6837 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.5476, allocations: 0 / 0.6837 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003342/0.551, allocations: 1.41 MB / 0.685 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.5511, allocations: 132.5 kB / 0.6852 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.5518, allocations: 0.5694 MB / 0.6857 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.5519, allocations: 37.7 kB / 0.6858 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.5521, allocations: 359.9 kB / 0.6861 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5523, allocations: 178.5 kB / 0.6863 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.5525, allocations: 138.6 kB / 0.6864 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5526, allocations: 370.8 kB / 0.6867 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.553, allocations: 225.9 kB / 0.687 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.5536, allocations: 0.5123 MB / 0.6875 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5547, allocations: 0.7662 MB / 0.6882 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.5547, allocations: 4 kB / 0.6882 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001633/0.5563, allocations: 0.8987 MB / 0.6891 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5563, allocations: 15.94 kB / 0.6891 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5563, allocations: 12.81 kB / 0.6891 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.5577, allocations: 285.6 kB / 0.6894 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5581, allocations: 127.8 kB / 0.6895 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.5591, allocations: 0.8858 MB / 0.6904 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.5595, allocations: 24 kB / 0.6904 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.5596, allocations: 40.06 kB / 0.6904 GB, free: 1.344 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.5599, allocations: 252 kB / 0.6907 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5601, allocations: 67.58 kB / 0.6907 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.5613, allocations: 0.694 MB / 0.6914 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5613, allocations: 4 kB / 0.6914 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.5613, allocations: 4 kB / 0.6914 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.5613, allocations: 3.984 kB / 0.6914 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.5634, allocations: 1.316 MB / 0.6927 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5634, allocations: 4 kB / 0.6927 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/0.5644, allocations: 203.8 kB / 0.6929 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-05/0.5645, allocations: 29.91 kB / 0.6929 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.5645, allocations: 8 kB / 0.693 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.5667, allocations: 2.675 MB / 0.6956 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5667, allocations: 4.031 kB / 0.6956 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.5681, allocations: 0.9375 MB / 0.6965 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.5684, allocations: 131.5 kB / 0.6966 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.5685, allocations: 12 kB / 0.6966 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.5689, allocations: 24.05 kB / 0.6966 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.5689, allocations: 43.59 kB / 0.6967 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.569, allocations: 23.98 kB / 0.6967 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005136/0.5695, allocations: 427 kB / 0.6971 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5695, allocations: 0 / 0.6971 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007741/0.5703, allocations: 223.8 kB / 0.6973 GB, free: 9.93 MB / 0.5294 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 (47): * Single equations (assignments): 43 * 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): 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.000539/0.5708, allocations: 268.3 kB / 0.6976 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.572, allocations: 0.579 MB / 0.6982 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.572, allocations: 3.938 kB / 0.6982 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009474/0.5729, allocations: 435.4 kB / 0.6986 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5744, allocations: 372.1 kB / 0.6989 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.5767, allocations: 1.446 MB / 0.7003 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.5772, allocations: 0.9346 MB / 0.7013 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5774, allocations: 71.42 kB / 0.7013 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.5774, allocations: 0 / 0.7013 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of Templates: time 0.02102/0.5984, allocations: 16.02 MB / 0.717 GB, free: 5.746 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 9.354965595062822]