Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001504/0.001504, 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.001666/0.001666, allocations: 215.3 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.317/1.317, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.2087/0.2087, allocations: 44.24 MB / 331 MB, free: 9.523 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.DryAirNasa,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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [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.002095/0.002095, allocations: 79.88 kB / 468.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1133, allocations: 61.03 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4252/0.5385, allocations: 180.5 MB / 0.6937 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.5497, allocations: 8.269 MB / 0.7018 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.5505, allocations: 27.75 kB / 0.7018 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.5514, allocations: 329.9 kB / 0.7021 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.5554, allocations: 1.518 MB / 0.7036 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.5582, allocations: 1.185 MB / 0.7048 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.5606, allocations: 1.876 MB / 0.7066 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.5611, allocations: 393.6 kB / 0.707 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5637, allocations: 1.273 MB / 0.7082 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5647, allocations: 0.7085 MB / 0.7089 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.5648, allocations: 60 kB / 0.709 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.5666, allocations: 0.8464 MB / 0.7098 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.5669, allocations: 275.1 kB / 0.71 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.5673, allocations: 398.2 kB / 0.7104 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.5692, allocations: 1.425 MB / 0.7118 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5693, allocations: 0 / 0.7118 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5693, allocations: 0 / 0.7118 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.5693, allocations: 0 / 0.7118 GB, free: 12.25 MB / 0.545 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.002163/0.5714, allocations: 1.076 MB / 0.7129 GB, free: 11.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5715, allocations: 8.031 kB / 0.7129 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.5722, allocations: 139.5 kB / 0.713 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.5731, allocations: 497.2 kB / 0.7135 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.5733, allocations: 155.8 kB / 0.7136 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.5733, allocations: 47.98 kB / 0.7137 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5746, allocations: 0.8058 MB / 0.7145 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5746, allocations: 11.94 kB / 0.7145 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.5747, allocations: 27.98 kB / 0.7145 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.5747, allocations: 40.97 kB / 0.7145 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5757, allocations: 0.6166 MB / 0.7151 GB, free: 8.672 MB / 0.545 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.004564/0.5803, allocations: 3.945 MB / 0.719 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.5809, allocations: 335.6 kB / 0.7193 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.5811, allocations: 157.3 kB / 0.7195 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.5815, allocations: 134.1 kB / 0.7196 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5815, allocations: 38.84 kB / 0.7196 GB, free: 3.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.5815, allocations: 0 / 0.7196 GB, free: 3.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.005123/0.5866, allocations: 1.603 MB / 0.7212 GB, free: 2.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.5867, allocations: 136.5 kB / 0.7213 GB, free: 1.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.5875, allocations: 0.6133 MB / 0.7219 GB, free: 1.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.5875, allocations: 37.7 kB / 0.722 GB, free: 1.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.5878, allocations: 371.9 kB / 0.7223 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5879, allocations: 150.7 kB / 0.7225 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.5881, allocations: 158.6 kB / 0.7226 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5883, allocations: 370.8 kB / 0.723 GB, free: 292 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.5887, allocations: 209.9 kB / 0.7232 GB, free: 84 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006455/0.5893, allocations: 0.5124 MB / 0.7237 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.5903, allocations: 0.7484 MB / 0.7244 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5903, allocations: 4 kB / 0.7244 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001409/0.5918, allocations: 0.8766 MB / 0.7253 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5918, allocations: 12 kB / 0.7253 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.5918, allocations: 8 kB / 0.7253 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.5931, allocations: 314.7 kB / 0.7256 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5935, allocations: 119.8 kB / 0.7257 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.5946, allocations: 0.9373 MB / 0.7266 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.5951, allocations: 27.98 kB / 0.7266 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/0.5952, allocations: 75.92 kB / 0.7267 GB, free: 12.14 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.0003388/0.5955, allocations: 237.5 kB / 0.7269 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5956, allocations: 79.45 kB / 0.727 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.5969, allocations: 0.6758 MB / 0.7277 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5969, allocations: 4 kB / 0.7277 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5969, allocations: 0 / 0.7277 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.5969, allocations: 3.984 kB / 0.7277 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.599, allocations: 1.277 MB / 0.7289 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.599, allocations: 7.938 kB / 0.7289 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6, allocations: 207.8 kB / 0.7291 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.264e-05/0.6, allocations: 24.84 kB / 0.7291 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.6001, allocations: 12.12 kB / 0.7292 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.6022, allocations: 2.684 MB / 0.7318 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6022, allocations: 0 / 0.7318 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6034, allocations: 0.8131 MB / 0.7326 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.6037, allocations: 127.4 kB / 0.7327 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.6038, allocations: 12 kB / 0.7327 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.6042, allocations: 23.98 kB / 0.7327 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.6042, allocations: 35.94 kB / 0.7328 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.6043, allocations: 39.98 kB / 0.7328 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005216/0.6048, allocations: 447 kB / 0.7332 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6048, allocations: 4.062 kB / 0.7332 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000897/0.6057, allocations: 295.7 kB / 0.7335 GB, free: 4.812 MB / 0.5606 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.0008365/0.6066, allocations: 377.7 kB / 0.7339 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.6076, allocations: 0.5307 MB / 0.7344 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6076, allocations: 0.5625 kB / 0.7344 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.6085, allocations: 390.7 kB / 0.7348 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.61, allocations: 360.4 kB / 0.7351 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.6122, allocations: 1.371 MB / 0.7364 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.6128, allocations: 0.9299 MB / 0.7374 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.6131, allocations: 115.4 kB / 0.7375 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.6131, allocations: 0 / 0.7375 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of Templates: time 0.02383/0.6369, allocations: 17.16 MB / 0.7542 GB, free: 15.52 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.850803242065012]