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.0009492/0.0009492, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001406/0.001406, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9184/0.9184, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1246/0.1246, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.512e-06/1.512e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.199e-05, allocations: 4.281 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3167/0.3167, allocations: 131.7 MB / 479.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.3209, allocations: 3.075 MB / 482.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.3213, allocations: 31.84 kB / 482.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.322, allocations: 214.3 kB / 482.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.3233, allocations: 0.7773 MB / 483.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.3249, allocations: 0.9077 MB / 484.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3269, allocations: 1.866 MB / 486.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.3278, allocations: 421.1 kB / 486.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.3292, allocations: 0.9089 MB / 487.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3304, allocations: 0.6906 MB / 488.3 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3305, allocations: 62.72 kB / 488.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.331, allocations: 274 kB / 488.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.3312, allocations: 294.2 kB / 488.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.3314, allocations: 287.6 kB / 489.2 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.3323, allocations: 0.7928 MB / 490 MB, free: 8.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3323, allocations: 0 / 490 MB, free: 8.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3323, allocations: 3.125 kB / 490 MB, free: 8.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3324, allocations: 0 / 490 MB, free: 8.703 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.00142/0.3338, allocations: 1.081 MB / 491.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3338, allocations: 11.84 kB / 491.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.3342, allocations: 158.8 kB / 491.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.3348, allocations: 498.2 kB / 491.7 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3349, allocations: 156.8 kB / 491.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.335, allocations: 60.3 kB / 491.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.3358, allocations: 0.9906 MB / 492.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3358, allocations: 7.25 kB / 492.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.3358, allocations: 28.16 kB / 493 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.3359, allocations: 41.89 kB / 493 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.3363, allocations: 306.3 kB / 493.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3386, allocations: 3.514 MB / 496.8 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.339, allocations: 279.5 kB / 497.1 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3391, allocations: 101 kB / 497.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.3393, allocations: 46.14 kB / 497.2 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3393, allocations: 40.62 kB / 497.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.3393, allocations: 0 / 497.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.00206/0.3414, allocations: 0.9818 MB / 498.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3414, allocations: 138.3 kB / 498.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.3417, allocations: 0.5365 MB / 498.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3418, allocations: 36.73 kB / 499 MB, free: 1.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3419, allocations: 412.9 kB / 499.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.342, allocations: 172.8 kB / 499.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3421, allocations: 153.5 kB / 499.7 MB, free: 1.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3422, allocations: 0.5444 MB / 0.4885 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3424, allocations: 90.19 kB / 0.4886 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.3427, allocations: 0.5896 MB / 0.4892 GB, free: 28 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.3434, allocations: 0.6435 MB / 0.4898 GB, free: 15.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3434, allocations: 6.938 kB / 0.4898 GB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008955/0.3443, allocations: 0.6556 MB / 0.4904 GB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3443, allocations: 8.812 kB / 0.4904 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3443, allocations: 15.41 kB / 0.4905 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.3451, allocations: 234 kB / 0.4907 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3453, allocations: 123.7 kB / 0.4908 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006835/0.346, allocations: 0.9697 MB / 0.4917 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.3462, allocations: 30.06 kB / 0.4918 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.3463, allocations: 36.36 kB / 0.4918 GB, free: 14.05 MB / 378.7 MB 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.0001795/0.3465, allocations: 205.8 kB / 0.492 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.3466, allocations: 80.95 kB / 0.4921 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.3473, allocations: 0.4967 MB / 0.4926 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3473, allocations: 2.656 kB / 0.4926 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3473, allocations: 3.938 kB / 0.4926 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3473, allocations: 6.797 kB / 0.4926 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3485, allocations: 0.9592 MB / 0.4935 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3485, allocations: 6.969 kB / 0.4935 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.349, allocations: 190.8 kB / 0.4937 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.894e-05/0.3491, allocations: 27.05 kB / 0.4937 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3491, allocations: 11.06 kB / 0.4937 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.3508, allocations: 3.563 MB / 0.4972 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3508, allocations: 2.562 kB / 0.4972 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.3515, allocations: 0.6468 MB / 0.4979 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3517, allocations: 111.4 kB / 0.498 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.3517, allocations: 18.73 kB / 0.498 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3519, allocations: 16.62 kB / 0.498 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.352, allocations: 38.16 kB / 0.498 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.352, allocations: 22.36 kB / 0.4981 GB, free: 8.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000262/0.3523, allocations: 334.7 kB / 0.4984 GB, free: 8.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3523, allocations: 4.031 kB / 0.4984 GB, free: 8.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.3528, allocations: 190.3 kB / 0.4986 GB, free: 8.219 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.000454/0.3533, allocations: 202.2 kB / 0.4988 GB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.3539, allocations: 397.3 kB / 0.4991 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3539, allocations: 0 / 0.4991 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.3545, allocations: 405.1 kB / 0.4995 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.3553, allocations: 330.5 kB / 0.4998 GB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3572, allocations: 1.176 MB / 0.501 GB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3573, allocations: 173 kB / 0.5011 GB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004199/0.3577, allocations: 171.9 kB / 0.5013 GB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3578, allocations: 60.48 kB / 0.5014 GB, free: 6.301 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3578, allocations: 0 / 0.5014 GB, free: 6.301 MB / 378.7 MB Notification: Performance of Templates: time 0.01677/0.3746, allocations: 12.91 MB / 0.514 GB, free: 9.516 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.7366573698818684]