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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 194 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2419/0.2419, allocations: 44.91 MB / 351.6 MB, free: 12.31 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 67.89 kB / 495.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3347, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2151/0.5498, allocations: 175.1 MB / 0.7174 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00801/0.5579, allocations: 5.377 MB / 0.7227 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.5584, allocations: 19.88 kB / 0.7227 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.5593, allocations: 329.9 kB / 0.723 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.5626, allocations: 1.266 MB / 0.7242 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5652, allocations: 0.9735 MB / 0.7252 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.5675, allocations: 1.856 MB / 0.727 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.5681, allocations: 393.4 kB / 0.7274 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.5705, allocations: 1.078 MB / 0.7284 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.5715, allocations: 0.7007 MB / 0.7291 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.5716, allocations: 64 kB / 0.7292 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.573, allocations: 0.6281 MB / 0.7298 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.5732, allocations: 275.2 kB / 0.7301 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.5737, allocations: 394.2 kB / 0.7304 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.5755, allocations: 1.304 MB / 0.7317 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5755, allocations: 0 / 0.7317 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5755, allocations: 4 kB / 0.7317 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.5755, allocations: 3.938 kB / 0.7317 GB, free: 1.391 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.002324/0.5778, allocations: 1.128 MB / 0.7328 GB, free: 216 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5779, allocations: 12.03 kB / 0.7328 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/0.5787, allocations: 135.5 kB / 0.733 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2454/0.8241, allocations: 0.5282 MB / 0.7335 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.8243, allocations: 102.8 kB / 0.7336 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.8244, allocations: 49.09 kB / 0.7336 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.826, allocations: 0.8148 MB / 0.7344 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.8261, allocations: 5.781 kB / 0.7344 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.8261, allocations: 23.5 kB / 0.7344 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.903e-05/0.8262, allocations: 43.52 kB / 0.7345 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.8276, allocations: 0.6211 MB / 0.7351 GB, free: 185 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.004278/0.8318, allocations: 3.957 MB / 0.739 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.8324, allocations: 345.5 kB / 0.7393 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.8326, allocations: 164.1 kB / 0.7394 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.8328, allocations: 91.28 kB / 0.7395 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8328, allocations: 44.62 kB / 0.7396 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/0.8328, allocations: 0 / 0.7396 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005326/0.8381, allocations: 1.677 MB / 0.7412 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.8382, allocations: 132.4 kB / 0.7413 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.8389, allocations: 0.6181 MB / 0.7419 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.839, allocations: 35.92 kB / 0.742 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.8392, allocations: 373.2 kB / 0.7423 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.8393, allocations: 151.6 kB / 0.7425 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.8395, allocations: 159.4 kB / 0.7426 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.8396, allocations: 375.3 kB / 0.743 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.8399, allocations: 206.9 kB / 0.7432 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.8404, allocations: 0.5138 MB / 0.7437 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.8412, allocations: 0.7444 MB / 0.7444 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8412, allocations: 3.844 kB / 0.7444 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001297/0.8425, allocations: 0.8884 MB / 0.7453 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.8425, allocations: 14 kB / 0.7453 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8426, allocations: 11.88 kB / 0.7453 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.8438, allocations: 310.4 kB / 0.7456 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.8442, allocations: 126.8 kB / 0.7457 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/0.845, allocations: 0.9341 MB / 0.7466 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.8455, allocations: 21.5 kB / 0.7467 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.8455, allocations: 69.89 kB / 0.7467 GB, free: 176.3 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.0002852/0.8458, allocations: 251.4 kB / 0.747 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.8459, allocations: 67.02 kB / 0.747 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.8473, allocations: 0.8755 MB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.8473, allocations: 7.938 kB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8473, allocations: 3.938 kB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.8473, allocations: 3.984 kB / 0.7479 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.8488, allocations: 1.459 MB / 0.7493 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8488, allocations: 0 / 0.7493 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.8498, allocations: 212 kB / 0.7495 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/0.8498, allocations: 24.84 kB / 0.7495 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.8499, allocations: 23.98 kB / 0.7496 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.8512, allocations: 2.873 MB / 0.7524 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8512, allocations: 0 / 0.7524 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.8521, allocations: 0.8265 MB / 0.7532 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.8523, allocations: 188.7 kB / 0.7534 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.8524, allocations: 20.02 kB / 0.7534 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.8528, allocations: 19.98 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.8529, allocations: 39.84 kB / 0.7534 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.8529, allocations: 51.91 kB / 0.7535 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003775/0.8533, allocations: 435 kB / 0.7539 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8533, allocations: 0 / 0.7539 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007923/0.8541, allocations: 255.8 kB / 0.7541 GB, free: 168.5 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.0006614/0.8548, allocations: 298.8 kB / 0.7544 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009299/0.8557, allocations: 0.5378 MB / 0.755 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8557, allocations: 3.938 kB / 0.755 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.8565, allocations: 402.3 kB / 0.7553 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.8579, allocations: 374.9 kB / 0.7557 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.8596, allocations: 1.365 MB / 0.757 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.8599, allocations: 0.9339 MB / 0.7579 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007835/0.8606, allocations: 465.4 kB / 0.7584 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.8609, allocations: 115.4 kB / 0.7585 GB, free: 164 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.8609, allocations: 0 / 0.7585 GB, free: 164 MB / 0.5606 GB Notification: Performance of Templates: time 0.02493/0.8858, allocations: 17.87 MB / 0.776 GB, free: 146.3 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.343317401595414]