Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.00171/0.00171, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002178/0.002178, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2264/0.2264, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.SimpleAir,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.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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.88 kB / 0.4974 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 66.02 MB / 0.5619 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1876/0.5239, allocations: 151.2 MB / 0.7095 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008482/0.5324, allocations: 5.642 MB / 0.715 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.5331, allocations: 23.75 kB / 0.715 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.5343, allocations: 334 kB / 0.7154 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.5367, allocations: 0.894 MB / 0.7162 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.5398, allocations: 1.049 MB / 0.7173 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002743/0.5425, allocations: 1.828 MB / 0.719 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.5434, allocations: 393.6 kB / 0.7194 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.5451, allocations: 0.7863 MB / 0.7202 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.5467, allocations: 0.7631 MB / 0.7209 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.5469, allocations: 64 kB / 0.721 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.5483, allocations: 0.5849 MB / 0.7216 GB, free: 264 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.5488, allocations: 275.1 kB / 0.7218 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.5494, allocations: 402.2 kB / 0.7222 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.5515, allocations: 1.175 MB / 0.7234 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5515, allocations: 4 kB / 0.7234 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5515, allocations: 0 / 0.7234 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.649e-05/0.5515, allocations: 0 / 0.7234 GB, free: 14.41 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.002689/0.5542, allocations: 0.9912 MB / 0.7243 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5542, allocations: 8.031 kB / 0.7243 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5547, allocations: 100.4 kB / 0.7244 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5557, allocations: 478.7 kB / 0.7249 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.5559, allocations: 160.3 kB / 0.725 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.556, allocations: 44.38 kB / 0.7251 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.5574, allocations: 0.8149 MB / 0.7259 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.5574, allocations: 4 kB / 0.7259 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.5575, allocations: 27.92 kB / 0.7259 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.5576, allocations: 44.92 kB / 0.726 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5587, allocations: 0.6518 MB / 0.7266 GB, free: 10.96 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.005138/0.5638, allocations: 3.896 MB / 0.7304 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/0.5647, allocations: 420.2 kB / 0.7308 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.565, allocations: 185.4 kB / 0.731 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.5653, allocations: 64.25 kB / 0.731 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5654, allocations: 50.83 kB / 0.7311 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.5654, allocations: 0 / 0.7311 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003359/0.5687, allocations: 1.402 MB / 0.7325 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.5688, allocations: 140.5 kB / 0.7326 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/0.5696, allocations: 0.5655 MB / 0.7331 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.5696, allocations: 33.7 kB / 0.7332 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.5699, allocations: 363.9 kB / 0.7335 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.5701, allocations: 170.6 kB / 0.7337 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.5703, allocations: 142.6 kB / 0.7338 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5705, allocations: 370.8 kB / 0.7342 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.5708, allocations: 213.9 kB / 0.7344 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.5715, allocations: 0.5201 MB / 0.7349 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.5726, allocations: 0.7562 MB / 0.7356 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.5726, allocations: 4 kB / 0.7356 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001694/0.5743, allocations: 0.9022 MB / 0.7365 GB, free: 136 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.5743, allocations: 15.94 kB / 0.7365 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5743, allocations: 8 kB / 0.7365 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2768/0.8511, allocations: 286.2 kB / 0.7368 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.8517, allocations: 123.3 kB / 0.7369 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.8529, allocations: 0.8841 MB / 0.7378 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.8534, allocations: 29.59 kB / 0.7378 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.8535, allocations: 42.11 kB / 0.7379 GB, free: 174.3 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.000376/0.8539, allocations: 244.3 kB / 0.7381 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.854, allocations: 67.17 kB / 0.7382 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.8555, allocations: 0.6963 MB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.8555, allocations: 5.703 kB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8555, allocations: 0.5 kB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.8555, allocations: 6.266 kB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.8574, allocations: 1.313 MB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8574, allocations: 1.312 kB / 0.7401 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.8584, allocations: 204.8 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/0.8585, allocations: 30.64 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.8585, allocations: 10.11 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.8599, allocations: 2.671 MB / 0.743 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8599, allocations: 14.34 kB / 0.743 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.861, allocations: 0.9406 MB / 0.7439 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8613, allocations: 130.8 kB / 0.744 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.8614, allocations: 15.75 kB / 0.744 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.8617, allocations: 19.81 kB / 0.7441 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.8618, allocations: 34.44 kB / 0.7441 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.8619, allocations: 26.69 kB / 0.7441 GB, free: 170 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004064/0.8623, allocations: 427.2 kB / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8623, allocations: 0 / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000737/0.863, allocations: 228.4 kB / 0.7447 GB, free: 169.8 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.0003557/0.8634, allocations: 241.9 kB / 0.745 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.8644, allocations: 0.5856 MB / 0.7455 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8644, allocations: 0 / 0.7455 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.8652, allocations: 442 kB / 0.746 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.8667, allocations: 382.8 kB / 0.7463 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.8684, allocations: 1.435 MB / 0.7477 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.8687, allocations: 0.9267 MB / 0.7486 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.8688, allocations: 71.42 kB / 0.7487 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.8688, allocations: 0 / 0.7487 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01531/0.8841, allocations: 16 MB / 0.7643 GB, free: 150.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.226694530108944]