Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001372/0.001372, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001614/0.001614, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002132/0.002132, allocations: 67.91 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4187, allocations: 65.48 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2097/0.6284, allocations: 153.9 MB / 0.7077 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008145/0.6366, allocations: 4.926 MB / 0.7125 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.6371, allocations: 31.75 kB / 0.7126 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008264/0.638, allocations: 302 kB / 0.7129 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.6414, allocations: 1.293 MB / 0.7141 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.6441, allocations: 0.9848 MB / 0.7151 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002427/0.6465, allocations: 1.868 MB / 0.7169 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006579/0.6472, allocations: 389.6 kB / 0.7173 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.6496, allocations: 1.121 MB / 0.7184 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.6507, allocations: 0.6851 MB / 0.719 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.6508, allocations: 60 kB / 0.7191 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.6521, allocations: 0.5462 MB / 0.7196 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.6525, allocations: 279.1 kB / 0.7199 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.6529, allocations: 334.6 kB / 0.7202 GB, free: 200 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.6549, allocations: 1.304 MB / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6549, allocations: 0 / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6549, allocations: 0 / 0.7215 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.6549, allocations: 0 / 0.7215 GB, free: 14.89 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.00242/0.6574, allocations: 1.041 MB / 0.7225 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6574, allocations: 15.97 kB / 0.7225 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.6582, allocations: 143.4 kB / 0.7227 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/0.6592, allocations: 473.4 kB / 0.7231 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.6594, allocations: 163.7 kB / 0.7233 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6595, allocations: 48 kB / 0.7233 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.661, allocations: 1.14 MB / 0.7244 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.661, allocations: 0 / 0.7244 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.6611, allocations: 27.98 kB / 0.7245 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.6612, allocations: 48.8 kB / 0.7245 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6622, allocations: 0.6166 MB / 0.7251 GB, free: 10.95 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.004434/0.6667, allocations: 3.212 MB / 0.7282 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.6673, allocations: 339.7 kB / 0.7286 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.6676, allocations: 161.3 kB / 0.7287 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.6676, allocations: 16.27 kB / 0.7287 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6677, allocations: 42.78 kB / 0.7288 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.6677, allocations: 0 / 0.7288 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005619/0.6733, allocations: 1.605 MB / 0.7303 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.6734, allocations: 136.5 kB / 0.7305 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.674, allocations: 0.5338 MB / 0.731 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.6741, allocations: 33.7 kB / 0.731 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.6744, allocations: 388.2 kB / 0.7314 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.6745, allocations: 146.7 kB / 0.7315 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.6747, allocations: 158.6 kB / 0.7317 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6749, allocations: 370.8 kB / 0.732 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.6753, allocations: 197.9 kB / 0.7322 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.676, allocations: 0.5917 MB / 0.7328 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6771, allocations: 0.7563 MB / 0.7335 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6771, allocations: 0 / 0.7335 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00154/0.6786, allocations: 0.8685 MB / 0.7344 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6787, allocations: 12 kB / 0.7344 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6787, allocations: 11.98 kB / 0.7344 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.68, allocations: 307 kB / 0.7347 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.6804, allocations: 123.8 kB / 0.7348 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3242/1.005, allocations: 0.9345 MB / 0.7357 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/1.005, allocations: 28.41 kB / 0.7358 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/1.006, allocations: 63.59 kB / 0.7358 GB, free: 177.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.0004464/1.006, allocations: 254.5 kB / 0.7361 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.006, allocations: 62.27 kB / 0.7361 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/1.008, allocations: 0.8464 MB / 0.737 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.008, allocations: 4.5 kB / 0.737 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.008, allocations: 1.094 kB / 0.737 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.008, allocations: 5.766 kB / 0.737 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/1.01, allocations: 1.087 MB / 0.738 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.01, allocations: 2.219 kB / 0.738 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/1.011, allocations: 215.6 kB / 0.7382 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.59e-05/1.011, allocations: 29.41 kB / 0.7383 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/1.011, allocations: 19.75 kB / 0.7383 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/1.013, allocations: 2.628 MB / 0.7408 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.013, allocations: 0 / 0.7408 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.014, allocations: 0.8178 MB / 0.7416 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.014, allocations: 108.5 kB / 0.7418 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/1.014, allocations: 11.94 kB / 0.7418 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/1.015, allocations: 19.53 kB / 0.7418 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/1.015, allocations: 41.83 kB / 0.7418 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/1.015, allocations: 45.11 kB / 0.7419 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003603/1.015, allocations: 363 kB / 0.7422 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.015, allocations: 0 / 0.7422 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008566/1.016, allocations: 252 kB / 0.7424 GB, free: 173.6 MB / 0.5606 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.0005743/1.017, allocations: 278.4 kB / 0.7427 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009615/1.017, allocations: 0.5379 MB / 0.7432 GB, free: 173 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.017, allocations: 0 / 0.7432 GB, free: 173 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/1.018, allocations: 414 kB / 0.7436 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.02, allocations: 309.3 kB / 0.7439 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/1.021, allocations: 1.339 MB / 0.7452 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.022, allocations: 335.7 kB / 0.7456 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000789/1.022, allocations: 450.6 kB / 0.746 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/1.023, allocations: 103.4 kB / 0.7461 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/1.023, allocations: 0 / 0.7461 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02113/1.044, allocations: 16.69 MB / 0.7624 GB, free: 154 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 6.613406168296933]