Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001334/0.001334, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002025/0.002025, allocations: 211.4 kB / 23.74 MB, free: 4.445 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.489/1.489, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.2342/0.2342, allocations: 44.27 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [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.002317/0.002317, allocations: 82.39 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1439, allocations: 61.04 MB / 0.5174 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5444/0.6883, allocations: 155.7 MB / 0.6694 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.7015, allocations: 7.527 MB / 0.6768 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/0.7025, allocations: 27.75 kB / 0.6768 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.7038, allocations: 302 kB / 0.6771 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.71, allocations: 1.521 MB / 0.6786 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.7141, allocations: 1.171 MB / 0.6797 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003206/0.7173, allocations: 1.868 MB / 0.6815 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7183, allocations: 389.6 kB / 0.6819 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.7222, allocations: 1.277 MB / 0.6832 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.7239, allocations: 0.6812 MB / 0.6838 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.7241, allocations: 60 kB / 0.6839 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.7261, allocations: 0.7411 MB / 0.6846 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.7265, allocations: 271.1 kB / 0.6849 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.727, allocations: 342.6 kB / 0.6852 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.7293, allocations: 1.425 MB / 0.6866 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7293, allocations: 0 / 0.6866 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7293, allocations: 0 / 0.6866 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.7293, allocations: 0 / 0.6866 GB, free: 4.617 MB / 0.5137 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.002495/0.7318, allocations: 1.076 MB / 0.6876 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.7319, allocations: 8.031 kB / 0.6876 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.7327, allocations: 139.5 kB / 0.6878 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.7337, allocations: 485.3 kB / 0.6882 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.7339, allocations: 155.8 kB / 0.6884 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.734, allocations: 55.98 kB / 0.6884 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7355, allocations: 1.157 MB / 0.6896 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.7356, allocations: 3.938 kB / 0.6896 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.7356, allocations: 24 kB / 0.6896 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.7357, allocations: 44.97 kB / 0.6896 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.7368, allocations: 0.6088 MB / 0.6902 GB, free: 0.6289 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.004668/0.7415, allocations: 3.252 MB / 0.6934 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.7421, allocations: 347.5 kB / 0.6937 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.7423, allocations: 157.3 kB / 0.6939 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.7427, allocations: 130.1 kB / 0.694 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.7428, allocations: 38.84 kB / 0.694 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 3.997e-06/0.7428, allocations: 0 / 0.694 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005698/0.7485, allocations: 1.581 MB / 0.6956 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.7486, allocations: 136.5 kB / 0.6957 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.7492, allocations: 0.5299 MB / 0.6962 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.7493, allocations: 33.7 kB / 0.6963 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.7496, allocations: 388.2 kB / 0.6966 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.7497, allocations: 150.6 kB / 0.6968 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.7499, allocations: 158.6 kB / 0.6969 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7501, allocations: 366.7 kB / 0.6973 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.7505, allocations: 205.9 kB / 0.6975 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.7512, allocations: 0.5955 MB / 0.6981 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7522, allocations: 0.7453 MB / 0.6988 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7523, allocations: 0 / 0.6988 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001512/0.7538, allocations: 0.8724 MB / 0.6996 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.7538, allocations: 8 kB / 0.6997 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.7538, allocations: 12 kB / 0.6997 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.7552, allocations: 320.9 kB / 0.7 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.7556, allocations: 119.8 kB / 0.7001 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.7568, allocations: 0.9373 MB / 0.701 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.7572, allocations: 28 kB / 0.701 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.7573, allocations: 67.98 kB / 0.7011 GB, free: 4.914 MB / 0.5294 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.000409/0.7577, allocations: 247.2 kB / 0.7013 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.7579, allocations: 71.52 kB / 0.7014 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.7593, allocations: 0.6649 MB / 0.702 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.7593, allocations: 4 kB / 0.702 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.7593, allocations: 3.984 kB / 0.702 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7593, allocations: 0 / 0.702 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.7614, allocations: 1.172 MB / 0.7032 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7614, allocations: 0 / 0.7032 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7624, allocations: 211.9 kB / 0.7034 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.977e-05/0.7625, allocations: 24.83 kB / 0.7034 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.7626, allocations: 19.94 kB / 0.7034 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.7649, allocations: 2.625 MB / 0.706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7649, allocations: 3.938 kB / 0.706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.7662, allocations: 0.8053 MB / 0.7068 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.7665, allocations: 103.6 kB / 0.7069 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.7666, allocations: 12.25 kB / 0.7069 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.767, allocations: 28.75 kB / 0.7069 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.7671, allocations: 39.94 kB / 0.707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.7671, allocations: 43.97 kB / 0.707 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00046/0.7676, allocations: 358.8 kB / 0.7074 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7676, allocations: 0 / 0.7074 GB, free: 14.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001118/0.7687, allocations: 295.7 kB / 0.7076 GB, free: 13.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001111/0.7698, allocations: 377.4 kB / 0.708 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7711, allocations: 0.5312 MB / 0.7085 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.7711, allocations: 0 / 0.7085 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7721, allocations: 386.7 kB / 0.7089 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.7736, allocations: 304.2 kB / 0.7092 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.7763, allocations: 1.36 MB / 0.7105 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.7767, allocations: 332.3 kB / 0.7108 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.777, allocations: 107.4 kB / 0.7109 GB, free: 10.44 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.777, allocations: 0 / 0.7109 GB, free: 10.44 MB / 0.545 GB Notification: Performance of Templates: time 0.02871/0.8057, allocations: 16.58 MB / 0.7271 GB, free: 9.863 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.037785758730024]