Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009544/0.0009544, allocations: 80.98 kB / 20.65 MB, free: 3.84 MB / 18.57 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.0009501/0.0009501, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 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 0.8874/0.8874, allocations: 158.6 MB / 185.9 MB, free: 2.762 MB / 170.7 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.1268/0.1268, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.497e-05, allocations: 4.281 kB / 348.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2552/0.2552, allocations: 129.2 MB / 477.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.2583, allocations: 3.068 MB / 480.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.2586, allocations: 26.69 kB / 480.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.2591, allocations: 219.8 kB / 480.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.2601, allocations: 0.7769 MB / 481.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2616, allocations: 0.9114 MB / 482.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.263, allocations: 1.851 MB / 484.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006187/0.2636, allocations: 439.2 kB / 484.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.2647, allocations: 0.9318 MB / 485.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.2653, allocations: 0.6695 MB / 486.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.998e-05/0.2654, allocations: 60.94 kB / 486.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.2658, allocations: 277.1 kB / 486.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.266, allocations: 288.5 kB / 486.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2663, allocations: 283.7 kB / 487.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.267, allocations: 0.7852 MB / 487.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.267, allocations: 0 / 487.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2671, allocations: 0 / 487.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.2671, allocations: 2.281 kB / 487.9 MB, free: 9.246 MB / 362.7 MB 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.001221/0.2683, allocations: 1.075 MB / 488.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2683, allocations: 10.78 kB / 489 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2686, allocations: 159.1 kB / 489.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.2691, allocations: 490 kB / 489.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.2692, allocations: 152.2 kB / 489.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.2693, allocations: 65.67 kB / 489.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.2698, allocations: 0.9263 MB / 490.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2698, allocations: 384 / 490.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2699, allocations: 29.58 kB / 490.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.2699, allocations: 48.23 kB / 490.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2702, allocations: 247.8 kB / 491 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.2725, allocations: 3.408 MB / 494.5 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.2728, allocations: 258.5 kB / 494.7 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.273, allocations: 83.27 kB / 494.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.2731, allocations: 54.34 kB / 494.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.2731, allocations: 42.72 kB / 494.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.2731, allocations: 0 / 494.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001413/0.2745, allocations: 0.8304 MB / 495.7 MB, free: 3.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2745, allocations: 133.5 kB / 495.8 MB, free: 3.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.2749, allocations: 0.5388 MB / 496.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2749, allocations: 36.52 kB / 496.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2751, allocations: 435.9 kB / 496.8 MB, free: 2.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.2751, allocations: 174.7 kB / 497 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.2753, allocations: 159.6 kB / 497.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.2754, allocations: 0.5495 MB / 497.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2755, allocations: 74.31 kB / 497.8 MB, free: 2.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.2758, allocations: 0.6026 MB / 498.4 MB, free: 1.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.2762, allocations: 0.6422 MB / 499 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2762, allocations: 3.125 kB / 499 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007972/0.277, allocations: 0.6303 MB / 499.7 MB, free: 404 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.277, allocations: 10.62 kB / 499.7 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.277, allocations: 8.594 kB / 499.7 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.2777, allocations: 231 kB / 499.9 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.278, allocations: 128 kB / 0.4883 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005689/0.2786, allocations: 0.9527 MB / 0.4892 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.2788, allocations: 25.88 kB / 0.4893 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.2789, allocations: 32.75 kB / 0.4893 GB, free: 15.39 MB / 378.7 MB 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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001694/0.279, allocations: 204.7 kB / 0.4895 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2792, allocations: 86.28 kB / 0.4896 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.2798, allocations: 483.3 kB / 0.49 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2798, allocations: 5.406 kB / 0.49 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2798, allocations: 3.984 kB / 0.4901 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2798, allocations: 0 / 0.4901 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.2808, allocations: 0.8555 MB / 0.4909 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2808, allocations: 2.219 kB / 0.4909 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.2813, allocations: 168.7 kB / 0.4911 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-05/0.2814, allocations: 30.64 kB / 0.4911 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2814, allocations: 13.22 kB / 0.4911 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.2829, allocations: 3.514 MB / 0.4945 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2829, allocations: 6.25 kB / 0.4945 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.2836, allocations: 0.6002 MB / 0.4951 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.2837, allocations: 111.2 kB / 0.4952 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.2838, allocations: 10.5 kB / 0.4952 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.284, allocations: 20.16 kB / 0.4953 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.2841, allocations: 41.98 kB / 0.4953 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.2841, allocations: 18.64 kB / 0.4953 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2843, allocations: 317.1 kB / 0.4956 GB, free: 9.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2843, allocations: 3.188 kB / 0.4956 GB, free: 9.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005604/0.2849, allocations: 189.6 kB / 0.4958 GB, free: 9.832 MB / 378.7 MB 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 (45): * Single equations (assignments): 41 * 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.0003274/0.2852, allocations: 200.6 kB / 0.496 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.2858, allocations: 360.6 kB / 0.4963 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2858, allocations: 0 / 0.4963 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.2863, allocations: 378.1 kB / 0.4967 GB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.2872, allocations: 324.9 kB / 0.497 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.289, allocations: 1.178 MB / 0.4982 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2891, allocations: 171.1 kB / 0.4983 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.2895, allocations: 113.6 kB / 0.4984 GB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.2901, allocations: 365.9 kB / 0.4988 GB, free: 7.465 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2901, allocations: 0 / 0.4988 GB, free: 7.465 MB / 378.7 MB Notification: Performance of Templates: time 0.01855/0.3086, allocations: 14.11 MB / 0.5126 GB, free: 9.457 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6316389269195497]