Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.001271/0.001271, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001292/0.001292, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2906/0.2906, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.955e-05, allocations: 5.547 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3207/0.3207, allocations: 145.3 MB / 0.5116 GB, free: 17.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.3262, allocations: 6.348 MB / 0.5178 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3263, allocations: 3.375 kB / 0.5178 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.3268, allocations: 93.38 kB / 0.5179 GB, free: 13.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.3322, allocations: 2.569 MB / 0.5204 GB, free: 12.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3325, allocations: 176.9 kB / 0.5206 GB, free: 12.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.3331, allocations: 0.5629 MB / 0.5211 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.3331, allocations: 17.14 kB / 0.5211 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3335, allocations: 315.5 kB / 0.5214 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.334, allocations: 379.6 kB / 0.5218 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.3341, allocations: 12.5 kB / 0.5218 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/0.3386, allocations: 2.964 MB / 0.5247 GB, free: 10.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.3387, allocations: 111.1 kB / 0.5248 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3389, allocations: 121.5 kB / 0.5249 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.3428, allocations: 1.96 MB / 0.5268 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3428, allocations: 2.969 kB / 0.5268 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3428, allocations: 4 kB / 0.5268 GB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3428, allocations: 0 / 0.5268 GB, free: 10.02 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001787/0.3445, allocations: 1.004 MB / 0.5278 GB, free: 9.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3446, allocations: 8.344 kB / 0.5278 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3448, allocations: 72.33 kB / 0.5279 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.345, allocations: 194.8 kB / 0.5281 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.07e-05/0.3451, allocations: 238.8 kB / 0.5283 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.3451, allocations: 29.56 kB / 0.5283 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.3456, allocations: 0.56 MB / 0.5289 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3456, allocations: 0 / 0.5289 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3456, allocations: 17.25 kB / 0.5289 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.3457, allocations: 28.7 kB / 0.5289 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3461, allocations: 0.5915 MB / 0.5295 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.3475, allocations: 1.848 MB / 0.5313 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3479, allocations: 210.7 kB / 0.5315 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.348, allocations: 75.48 kB / 0.5316 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.3493, allocations: 1.124 MB / 0.5327 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3493, allocations: 45.98 kB / 0.5327 GB, free: 6.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.3493, allocations: 7.938 kB / 0.5327 GB, free: 6.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009646/0.3502, allocations: 0.6035 MB / 0.5333 GB, free: 5.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3503, allocations: 60.81 kB / 0.5334 GB, free: 5.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3504, allocations: 280 kB / 0.5337 GB, free: 5.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3504, allocations: 29.7 kB / 0.5337 GB, free: 5.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.3505, allocations: 249.2 kB / 0.5339 GB, free: 5.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.3505, allocations: 161.2 kB / 0.5341 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3506, allocations: 152.8 kB / 0.5342 GB, free: 5.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.3507, allocations: 0.5117 MB / 0.5347 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.3508, allocations: 67.16 kB / 0.5348 GB, free: 4.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.351, allocations: 0.4992 MB / 0.5353 GB, free: 4.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.3513, allocations: 0.6379 MB / 0.5359 GB, free: 3.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3513, allocations: 6.594 kB / 0.5359 GB, free: 3.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004785/0.3518, allocations: 497.5 kB / 0.5364 GB, free: 3.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3518, allocations: 12.31 kB / 0.5364 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3518, allocations: 13 kB / 0.5364 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3519, allocations: 13.56 kB / 0.5364 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.3522, allocations: 197.9 kB / 0.5366 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003105/0.3525, allocations: 1.812 MB / 0.5384 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3527, allocations: 19 kB / 0.5384 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.3528, allocations: 52.33 kB / 0.5384 GB, free: 1.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.3529, allocations: 208.6 kB / 0.5386 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.3529, allocations: 40.64 kB / 0.5387 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/0.3535, allocations: 0.6284 MB / 0.5393 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3535, allocations: 6.844 kB / 0.5393 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3535, allocations: 0 / 0.5393 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3536, allocations: 4.25 kB / 0.5393 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.354, allocations: 0.5638 MB / 0.5399 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.354, allocations: 6.672 kB / 0.5399 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.3543, allocations: 100.4 kB / 0.54 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3543, allocations: 6.25 kB / 0.54 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3543, allocations: 13.34 kB / 0.54 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/0.3549, allocations: 1.785 MB / 0.5417 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3549, allocations: 3.938 kB / 0.5417 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.3552, allocations: 381.2 kB / 0.5421 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.3553, allocations: 42.09 kB / 0.5421 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3553, allocations: 17.17 kB / 0.5421 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3554, allocations: 9.5 kB / 0.5421 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3555, allocations: 31.83 kB / 0.5422 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3555, allocations: 19.3 kB / 0.5422 GB, free: 14.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.649e-05/0.3556, allocations: 191.6 kB / 0.5424 GB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3556, allocations: 0 / 0.5424 GB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001168/0.3568, allocations: 432.4 kB / 0.5428 GB, free: 13.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.3578, allocations: 0.676 MB / 0.5435 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.3583, allocations: 321 kB / 0.5438 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3583, allocations: 2.875 kB / 0.5438 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3585, allocations: 129.3 kB / 0.5439 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.3589, allocations: 146.1 kB / 0.544 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.365, allocations: 5.993 MB / 0.5499 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.3651, allocations: 94.81 kB / 0.55 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.3655, allocations: 183 kB / 0.5501 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.3658, allocations: 234 kB / 0.5504 GB, free: 8.363 MB / 426.7 MB Notification: Performance of SimCode: time 2.384e-06/0.3658, allocations: 0 / 0.5504 GB, free: 8.363 MB / 426.7 MB Notification: Performance of Templates: time 0.01684/0.3827, allocations: 16.07 MB / 0.5661 GB, free: 8.426 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.343065494205803]