Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009417/0.0009417, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001018/0.001018, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9667/0.9667, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.718e-05, allocations: 3.578 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2963/0.2963, allocations: 134.6 MB / 0.5013 GB, free: 24.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.3003, allocations: 3.076 MB / 0.5044 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.3008, allocations: 26.81 kB / 0.5044 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.3014, allocations: 221.3 kB / 0.5046 GB, free: 22.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.3027, allocations: 0.7805 MB / 0.5054 GB, free: 21.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3045, allocations: 0.9094 MB / 0.5062 GB, free: 21.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3063, allocations: 1.856 MB / 0.5081 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.3069, allocations: 420.9 kB / 0.5085 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.3081, allocations: 0.9461 MB / 0.5094 GB, free: 19.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.3089, allocations: 0.6747 MB / 0.51 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.309, allocations: 60.38 kB / 0.5101 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.3095, allocations: 283.5 kB / 0.5104 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.3097, allocations: 287.7 kB / 0.5106 GB, free: 19.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.31, allocations: 283.6 kB / 0.5109 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.3108, allocations: 0.7875 MB / 0.5117 GB, free: 19.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3108, allocations: 5.234 kB / 0.5117 GB, free: 19.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3108, allocations: 0 / 0.5117 GB, free: 19.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.3108, allocations: 0 / 0.5117 GB, free: 19.09 MB / 410.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.001238/0.3121, allocations: 1.085 MB / 0.5127 GB, free: 18.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3121, allocations: 8.719 kB / 0.5128 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.3124, allocations: 157.2 kB / 0.5129 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.3129, allocations: 499 kB / 0.5134 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.313, allocations: 152.9 kB / 0.5135 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.313, allocations: 53.19 kB / 0.5136 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.3138, allocations: 0.9494 MB / 0.5145 GB, free: 17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3138, allocations: 7.625 kB / 0.5145 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.3138, allocations: 29.58 kB / 0.5145 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/0.3139, allocations: 38.44 kB / 0.5146 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.3143, allocations: 307.4 kB / 0.5149 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.3164, allocations: 3.505 MB / 0.5183 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.3168, allocations: 269.2 kB / 0.5185 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.317, allocations: 93.88 kB / 0.5186 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3171, allocations: 41.73 kB / 0.5187 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3171, allocations: 44.17 kB / 0.5187 GB, free: 13.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.3171, allocations: 0 / 0.5187 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001594/0.3187, allocations: 0.9703 MB / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3188, allocations: 143.4 kB / 0.5198 GB, free: 13.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.3191, allocations: 0.5419 MB / 0.5203 GB, free: 12.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3191, allocations: 36.7 kB / 0.5204 GB, free: 12.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3193, allocations: 428.3 kB / 0.5208 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.3193, allocations: 175 kB / 0.5209 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3194, allocations: 152.5 kB / 0.5211 GB, free: 12.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.3195, allocations: 0.5485 MB / 0.5216 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3197, allocations: 90.16 kB / 0.5217 GB, free: 11.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3199, allocations: 0.6188 MB / 0.5223 GB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.3204, allocations: 0.6793 MB / 0.523 GB, free: 10.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3204, allocations: 2.812 kB / 0.523 GB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007795/0.3211, allocations: 0.6786 MB / 0.5236 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3212, allocations: 8.688 kB / 0.5236 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3212, allocations: 11.59 kB / 0.5237 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/0.3218, allocations: 237.4 kB / 0.5239 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3221, allocations: 130.2 kB / 0.524 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004518/0.3225, allocations: 0.9725 MB / 0.525 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3227, allocations: 26.12 kB / 0.525 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.3228, allocations: 41.41 kB / 0.525 GB, free: 9.09 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.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 (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.0001449/0.3229, allocations: 212 kB / 0.5252 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.323, allocations: 81.31 kB / 0.5253 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.3237, allocations: 499 kB / 0.5258 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3237, allocations: 2.938 kB / 0.5258 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3237, allocations: 3.156 kB / 0.5258 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3237, allocations: 2.484 kB / 0.5258 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/0.3246, allocations: 0.9607 MB / 0.5267 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3246, allocations: 5.281 kB / 0.5267 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.3251, allocations: 193 kB / 0.5269 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/0.3252, allocations: 23.34 kB / 0.5269 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3252, allocations: 19.72 kB / 0.527 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009254/0.3261, allocations: 3.555 MB / 0.5304 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3261, allocations: 3 kB / 0.5304 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.3267, allocations: 0.6406 MB / 0.5311 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3269, allocations: 123.6 kB / 0.5312 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3269, allocations: 10.75 kB / 0.5312 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3271, allocations: 21.31 kB / 0.5312 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.3272, allocations: 30.05 kB / 0.5312 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.3272, allocations: 23.05 kB / 0.5313 GB, free: 3.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3274, allocations: 341.2 kB / 0.5316 GB, free: 3.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3274, allocations: 0 / 0.5316 GB, free: 3.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.3279, allocations: 196.3 kB / 0.5318 GB, free: 3.664 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.0002639/0.3282, allocations: 173.7 kB / 0.5319 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000738/0.3289, allocations: 409.8 kB / 0.5323 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3289, allocations: 2.875 kB / 0.5323 GB, free: 3.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.3294, allocations: 411.3 kB / 0.5327 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.3302, allocations: 322.9 kB / 0.533 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.332, allocations: 1.188 MB / 0.5342 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3321, allocations: 169.8 kB / 0.5344 GB, free: 2.324 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004247/0.3325, allocations: 176.4 kB / 0.5345 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3326, allocations: 64.56 kB / 0.5346 GB, free: 2.273 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3326, allocations: 2.906 kB / 0.5346 GB, free: 2.273 MB / 410.7 MB Notification: Performance of Templates: time 0.01483/0.3474, allocations: 14.06 MB / 0.5483 GB, free: 10.35 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8093303297646344]