Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001768/0.001768, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00217/0.00217, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.244/0.244, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 71.86 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3316, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2051/0.5367, allocations: 153.9 MB / 0.7114 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008597/0.5453, allocations: 4.918 MB / 0.7162 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.5461, allocations: 31.75 kB / 0.7162 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5472, allocations: 309.9 kB / 0.7165 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.5512, allocations: 1.285 MB / 0.7177 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.554, allocations: 0.9889 MB / 0.7187 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002578/0.5566, allocations: 1.864 MB / 0.7205 GB, free: 308 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.5574, allocations: 393.6 kB / 0.7209 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.5601, allocations: 1.125 MB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.5615, allocations: 0.6812 MB / 0.7227 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.5617, allocations: 60 kB / 0.7227 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.5631, allocations: 0.5462 MB / 0.7233 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/0.5636, allocations: 275.2 kB / 0.7235 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.5642, allocations: 338.6 kB / 0.7238 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.5664, allocations: 1.3 MB / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5664, allocations: 0 / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.999e-06/0.5664, allocations: 4 kB / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.119e-05/0.5664, allocations: 0 / 0.7251 GB, free: 11.59 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.002976/0.5694, allocations: 1.045 MB / 0.7261 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5694, allocations: 8.031 kB / 0.7261 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/0.5704, allocations: 139.4 kB / 0.7263 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5715, allocations: 485.3 kB / 0.7267 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.5717, allocations: 155.8 kB / 0.7269 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.5718, allocations: 48 kB / 0.7269 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.5735, allocations: 1.14 MB / 0.7281 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.5735, allocations: 7.938 kB / 0.7281 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.5736, allocations: 27.94 kB / 0.7281 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.5737, allocations: 40.92 kB / 0.7281 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.5749, allocations: 0.6166 MB / 0.7287 GB, free: 7.652 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.004812/0.5797, allocations: 3.223 MB / 0.7319 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.5803, allocations: 331.6 kB / 0.7322 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.5806, allocations: 161.3 kB / 0.7323 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.5808, allocations: 20.27 kB / 0.7324 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.5808, allocations: 34.84 kB / 0.7324 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.5808, allocations: 4 kB / 0.7324 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006061/0.5869, allocations: 1.601 MB / 0.734 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.587, allocations: 140.4 kB / 0.7341 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.5878, allocations: 0.526 MB / 0.7346 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.5879, allocations: 37.7 kB / 0.7346 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.5883, allocations: 384.2 kB / 0.735 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.5885, allocations: 154.7 kB / 0.7352 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.5888, allocations: 154.6 kB / 0.7353 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.589, allocations: 366.8 kB / 0.7357 GB, free: 300 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.5895, allocations: 205.9 kB / 0.7359 GB, free: 92 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2763/0.8658, allocations: 0.5818 MB / 0.7364 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.8671, allocations: 0.7507 MB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.8671, allocations: 5.922 kB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001966/0.869, allocations: 0.8772 MB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.8691, allocations: 9.953 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.8691, allocations: 10.09 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.8706, allocations: 311 kB / 0.7383 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.871, allocations: 123.3 kB / 0.7385 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009498/0.8719, allocations: 0.9342 MB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.8724, allocations: 28.75 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.8725, allocations: 70.06 kB / 0.7395 GB, free: 173.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.0003417/0.8729, allocations: 251.3 kB / 0.7397 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.873, allocations: 59.3 kB / 0.7398 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.8744, allocations: 0.8553 MB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.8744, allocations: 3.938 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8744, allocations: 3.859 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8744, allocations: 3.031 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.8761, allocations: 1.083 MB / 0.7417 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8761, allocations: 0.75 kB / 0.7417 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.8771, allocations: 210.1 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/0.8772, allocations: 26.19 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.8772, allocations: 27.09 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.8785, allocations: 2.626 MB / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8785, allocations: 3.938 kB / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.8795, allocations: 0.8177 MB / 0.7453 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.8798, allocations: 102.8 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.8798, allocations: 17.81 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.8802, allocations: 15.33 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.8803, allocations: 46.02 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.8804, allocations: 41.95 kB / 0.7455 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003418/0.8807, allocations: 361.8 kB / 0.7458 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8807, allocations: 0 / 0.7458 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008612/0.8816, allocations: 259 kB / 0.7461 GB, free: 168.3 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.0005721/0.8821, allocations: 276.6 kB / 0.7463 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.8832, allocations: 0.5281 MB / 0.7469 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8832, allocations: 0 / 0.7469 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.8841, allocations: 408.6 kB / 0.7473 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.001357/0.8854, allocations: 313.3 kB / 0.7475 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.8872, allocations: 1.335 MB / 0.7489 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.8874, allocations: 340.2 kB / 0.7492 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000801/0.8882, allocations: 441.7 kB / 0.7496 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.8885, allocations: 107.4 kB / 0.7497 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.8885, allocations: 4 kB / 0.7497 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02102/0.9095, allocations: 16.69 MB / 0.766 GB, free: 148.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.356311835348606]