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.001079/0.001079, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009393/0.0009393, allocations: 173 kB / 24.14 MB, free: 356 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.8815/0.8815, allocations: 158.6 MB / 186 MB, free: 2.766 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.2375/0.2375, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.333e-06/1.333e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.356e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.283/0.2831, allocations: 131.2 MB / 430.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.2873, allocations: 3.118 MB / 433.4 MB, free: 7.516 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.2879, allocations: 27.75 kB / 433.5 MB, free: 7.488 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.2885, allocations: 218.5 kB / 433.7 MB, free: 7.273 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2899, allocations: 0.7689 MB / 434.4 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.2918, allocations: 0.8918 MB / 435.3 MB, free: 5.609 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.2937, allocations: 1.859 MB / 437.2 MB, free: 3.742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.2944, allocations: 426.5 kB / 437.6 MB, free: 3.324 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.2958, allocations: 0.9314 MB / 438.5 MB, free: 2.391 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008413/0.2966, allocations: 0.6428 MB / 439.2 MB, free: 1.746 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2967, allocations: 60 kB / 439.2 MB, free: 1.688 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006196/0.2973, allocations: 283.4 kB / 439.5 MB, free: 1.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.2976, allocations: 287.2 kB / 439.8 MB, free: 1.129 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.2979, allocations: 279.4 kB / 440.1 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.2989, allocations: 0.7788 MB / 440.8 MB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2989, allocations: 3.984 kB / 440.8 MB, free: 72 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2989, allocations: 0 / 440.8 MB, free: 72 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.2989, allocations: 0 / 440.8 MB, free: 72 kB / 394.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.00139/0.3003, allocations: 0.9355 MB / 441.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3003, allocations: 12.03 kB / 441.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.3006, allocations: 132.6 kB / 441.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.3013, allocations: 427.4 kB / 442.3 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3014, allocations: 156.3 kB / 442.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.3015, allocations: 60.36 kB / 442.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.3023, allocations: 0.893 MB / 443.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3023, allocations: 4.188 kB / 443.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.3023, allocations: 27.92 kB / 443.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.3024, allocations: 48.91 kB / 443.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3027, allocations: 232.3 kB / 443.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.3049, allocations: 2.437 MB / 446.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3052, allocations: 220.1 kB / 446.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.3053, allocations: 76.47 kB / 446.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.3055, allocations: 44.3 kB / 446.5 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3055, allocations: 38.89 kB / 446.6 MB, free: 10 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.3055, allocations: 3.938 kB / 446.6 MB, free: 10 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001524/0.307, allocations: 0.7807 MB / 447.3 MB, free: 9.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3071, allocations: 136.5 kB / 447.5 MB, free: 9.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.3074, allocations: 478.8 kB / 447.9 MB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3074, allocations: 33.7 kB / 448 MB, free: 8.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3076, allocations: 325.2 kB / 448.3 MB, free: 8.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.3077, allocations: 170.5 kB / 448.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3078, allocations: 146.5 kB / 448.6 MB, free: 7.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.308, allocations: 374.6 kB / 449 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.3081, allocations: 61.97 kB / 449 MB, free: 7.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3085, allocations: 482.7 kB / 449.5 MB, free: 6.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3089, allocations: 0.516 MB / 450 MB, free: 6.129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3089, allocations: 4 kB / 450 MB, free: 6.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000622/0.3095, allocations: 0.5138 MB / 450.5 MB, free: 5.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3095, allocations: 8 kB / 450.5 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3096, allocations: 16.12 kB / 450.6 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/0.3102, allocations: 219.2 kB / 450.8 MB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3104, allocations: 131.8 kB / 450.9 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004932/0.3109, allocations: 0.6682 MB / 451.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3111, allocations: 31.34 kB / 451.6 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3112, allocations: 35.98 kB / 451.6 MB, free: 4.477 MB / 410.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.0001757/0.3114, allocations: 160.4 kB / 451.8 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.3115, allocations: 55.94 kB / 451.9 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006528/0.3121, allocations: 414.2 kB / 452.3 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3121, allocations: 8 kB / 452.3 MB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3121, allocations: 0 / 452.3 MB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3121, allocations: 0 / 452.3 MB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.3131, allocations: 0.6962 MB / 453 MB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3131, allocations: 192 / 453 MB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.3136, allocations: 191.7 kB / 453.1 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.3137, allocations: 16.86 kB / 453.2 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3137, allocations: 16.61 kB / 453.2 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.3148, allocations: 2.41 MB / 455.6 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3148, allocations: 4.25 kB / 455.6 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1997/0.5145, allocations: 0.5037 MB / 456.1 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.5148, allocations: 79.91 kB / 456.2 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.5149, allocations: 12.08 kB / 456.2 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5151, allocations: 15.36 kB / 456.2 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5153, allocations: 39.88 kB / 456.2 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5153, allocations: 16.89 kB / 456.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5157, allocations: 202.8 kB / 456.5 MB, free: 20.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5157, allocations: 0.7188 kB / 456.5 MB, free: 20.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007751/0.5164, allocations: 197.9 kB / 456.6 MB, free: 20.47 MB / 410.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.0005877/0.517, allocations: 171.7 kB / 456.8 MB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.5179, allocations: 344.4 kB / 457.2 MB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.922e-05/0.5179, allocations: 9.344 kB / 457.2 MB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.5184, allocations: 309.3 kB / 457.5 MB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.5194, allocations: 332.3 kB / 457.8 MB, free: 20.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5214, allocations: 1.137 MB / 458.9 MB, free: 19.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.5217, allocations: 169.5 kB / 459.1 MB, free: 19.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.5221, allocations: 119.8 kB / 459.2 MB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.5227, allocations: 307.7 kB / 459.5 MB, free: 19.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5227, allocations: 0 / 459.5 MB, free: 19.57 MB / 410.7 MB Notification: Performance of Templates: time 0.02008/0.5428, allocations: 14.16 MB / 473.7 MB, free: 18.2 MB / 410.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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.658256937749684]