Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001876, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002244, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2246/0.2246, allocations: 46.89 MB / 361.1 MB, free: 4.656 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3022, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1783/0.4805, allocations: 151.2 MB / 0.7088 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008362/0.4889, allocations: 5.645 MB / 0.7143 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.4894, allocations: 19.88 kB / 0.7144 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.4904, allocations: 333.9 kB / 0.7147 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.4923, allocations: 0.8707 MB / 0.7155 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.4949, allocations: 1.031 MB / 0.7165 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.4972, allocations: 1.817 MB / 0.7183 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.4978, allocations: 397.4 kB / 0.7187 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.4991, allocations: 0.7747 MB / 0.7194 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.5003, allocations: 0.7631 MB / 0.7202 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.5004, allocations: 60 kB / 0.7202 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.5017, allocations: 0.5771 MB / 0.7208 GB, free: 1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.502, allocations: 271.1 kB / 0.7211 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.5024, allocations: 402.2 kB / 0.7215 GB, free: 348 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.5041, allocations: 1.172 MB / 0.7226 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5041, allocations: 0 / 0.7226 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5041, allocations: 0 / 0.7226 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.5041, allocations: 0 / 0.7226 GB, free: 15.16 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.002374/0.5065, allocations: 1.07 MB / 0.7236 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5065, allocations: 12.03 kB / 0.7237 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.5069, allocations: 100.4 kB / 0.7238 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5079, allocations: 0.5448 MB / 0.7243 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5081, allocations: 100.9 kB / 0.7244 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5082, allocations: 56.36 kB / 0.7244 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5096, allocations: 0.8149 MB / 0.7252 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5096, allocations: 7.922 kB / 0.7252 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.5097, allocations: 27.98 kB / 0.7253 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.5097, allocations: 36.98 kB / 0.7253 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5109, allocations: 0.6517 MB / 0.7259 GB, free: 11.57 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.005049/0.5159, allocations: 3.96 MB / 0.7298 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.5168, allocations: 406.4 kB / 0.7302 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.5171, allocations: 193.4 kB / 0.7304 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/0.5179, allocations: 0.7326 MB / 0.7311 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.5179, allocations: 46.88 kB / 0.7311 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.5179, allocations: 0 / 0.7311 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003379/0.5213, allocations: 1.55 MB / 0.7326 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5214, allocations: 140.5 kB / 0.7328 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.5221, allocations: 0.5732 MB / 0.7333 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.5222, allocations: 33.7 kB / 0.7334 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.5225, allocations: 359.9 kB / 0.7337 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5226, allocations: 174.6 kB / 0.7339 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5228, allocations: 138.6 kB / 0.734 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.523, allocations: 374.8 kB / 0.7344 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.5234, allocations: 217.9 kB / 0.7346 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.5241, allocations: 0.5162 MB / 0.7351 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5252, allocations: 0.7562 MB / 0.7358 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5252, allocations: 4 kB / 0.7358 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2424/0.7676, allocations: 0.9014 MB / 0.7367 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.7676, allocations: 16.95 kB / 0.7367 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.7676, allocations: 11.42 kB / 0.7367 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.7692, allocations: 278.8 kB / 0.737 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.7696, allocations: 121.4 kB / 0.7371 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009888/0.7706, allocations: 0.8922 MB / 0.738 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.7711, allocations: 27.25 kB / 0.738 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.7712, allocations: 38.06 kB / 0.7381 GB, free: 174.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.7715, allocations: 245 kB / 0.7383 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.7716, allocations: 71.39 kB / 0.7384 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.7729, allocations: 0.7669 MB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.7729, allocations: 9.25 kB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.7729, allocations: 2.875 kB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7729, allocations: 4.016 kB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.7747, allocations: 1.412 MB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7747, allocations: 1.875 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.7757, allocations: 205.7 kB / 0.7407 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.7758, allocations: 25.2 kB / 0.7407 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.7758, allocations: 16.84 kB / 0.7407 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.7771, allocations: 2.87 MB / 0.7435 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7771, allocations: 7.906 kB / 0.7435 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.7782, allocations: 1.006 MB / 0.7445 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.7784, allocations: 210.3 kB / 0.7447 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.7785, allocations: 13.45 kB / 0.7447 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.7789, allocations: 23.27 kB / 0.7448 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.779, allocations: 35.64 kB / 0.7448 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.779, allocations: 23.45 kB / 0.7448 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003821/0.7794, allocations: 429.6 kB / 0.7452 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7794, allocations: 0 / 0.7452 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007027/0.7801, allocations: 228.9 kB / 0.7454 GB, free: 169.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004413/0.7806, allocations: 257.4 kB / 0.7457 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.7816, allocations: 0.5717 MB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.7816, allocations: 8.469 kB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.7825, allocations: 444.7 kB / 0.7467 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.7841, allocations: 394.8 kB / 0.7471 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.7857, allocations: 1.395 MB / 0.7484 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.786, allocations: 0.9346 MB / 0.7493 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004903/0.7865, allocations: 208.7 kB / 0.7495 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.7866, allocations: 67.36 kB / 0.7496 GB, free: 166 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.7866, allocations: 0 / 0.7496 GB, free: 166 MB / 0.5606 GB Notification: Performance of Templates: time 0.01947/0.8061, allocations: 16.07 MB / 0.7653 GB, free: 150.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.021915579214692]