Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001554/0.001554, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001951/0.001951, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2956/0.2956, allocations: 32.81 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.962e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.343/0.343, allocations: 148.1 MB / 0.5118 GB, free: 18.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.348, allocations: 6.408 MB / 0.5181 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3482, allocations: 0 / 0.5181 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.3485, allocations: 95.44 kB / 0.5182 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.3536, allocations: 2.567 MB / 0.5207 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3538, allocations: 174.8 kB / 0.5209 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.3543, allocations: 0.5611 MB / 0.5214 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3544, allocations: 16.44 kB / 0.5214 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.3547, allocations: 318.4 kB / 0.5217 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.3552, allocations: 378 kB / 0.5221 GB, free: 12.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.3553, allocations: 14.03 kB / 0.5221 GB, free: 12.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.3598, allocations: 2.97 MB / 0.525 GB, free: 11.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3599, allocations: 108 kB / 0.5251 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.36, allocations: 117.8 kB / 0.5252 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.3632, allocations: 1.96 MB / 0.5271 GB, free: 10.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3632, allocations: 2.578 kB / 0.5271 GB, free: 10.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3632, allocations: 0 / 0.5271 GB, free: 10.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3632, allocations: 0 / 0.5271 GB, free: 10.9 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.00141/0.3646, allocations: 1.009 MB / 0.5281 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3647, allocations: 10.72 kB / 0.5281 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.3649, allocations: 68.91 kB / 0.5282 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3651, allocations: 197.2 kB / 0.5284 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.3652, allocations: 236.8 kB / 0.5286 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.3652, allocations: 33.34 kB / 0.5286 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.3656, allocations: 0.593 MB / 0.5292 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3656, allocations: 0 / 0.5292 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3657, allocations: 21.2 kB / 0.5292 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.3657, allocations: 30.42 kB / 0.5293 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.3663, allocations: 0.6846 MB / 0.5299 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3675, allocations: 1.887 MB / 0.5318 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.3679, allocations: 224.6 kB / 0.532 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.368, allocations: 92.28 kB / 0.5321 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.3692, allocations: 1.077 MB / 0.5331 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3693, allocations: 47.73 kB / 0.5332 GB, free: 7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.784e-06/0.3693, allocations: 0 / 0.5332 GB, free: 7 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002001/0.3713, allocations: 0.6697 MB / 0.5338 GB, free: 6.703 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.3713, allocations: 57.06 kB / 0.5339 GB, free: 6.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3715, allocations: 281.5 kB / 0.5342 GB, free: 6.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3715, allocations: 36.3 kB / 0.5342 GB, free: 6.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.3716, allocations: 243.8 kB / 0.5344 GB, free: 6.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.3716, allocations: 165.9 kB / 0.5346 GB, free: 6.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3718, allocations: 144.1 kB / 0.5347 GB, free: 5.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.3718, allocations: 0.5122 MB / 0.5352 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.3719, allocations: 74.03 kB / 0.5353 GB, free: 5.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3721, allocations: 0.517 MB / 0.5358 GB, free: 4.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3725, allocations: 0.6595 MB / 0.5364 GB, free: 4.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3725, allocations: 2.938 kB / 0.5364 GB, free: 4.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008131/0.3733, allocations: 0.5251 MB / 0.537 GB, free: 3.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3734, allocations: 11.41 kB / 0.537 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3734, allocations: 9.062 kB / 0.537 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/0.3734, allocations: 16.94 kB / 0.537 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.3739, allocations: 190.5 kB / 0.5372 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/0.3743, allocations: 1.812 MB / 0.5389 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3746, allocations: 22.09 kB / 0.539 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.3747, allocations: 61.02 kB / 0.539 GB, free: 2.082 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.0001409/0.3749, allocations: 199.7 kB / 0.5392 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.375, allocations: 45.7 kB / 0.5393 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.3759, allocations: 0.6276 MB / 0.5399 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.3759, allocations: 7.984 kB / 0.5399 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3759, allocations: 0 / 0.5399 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3759, allocations: 0 / 0.5399 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.3766, allocations: 0.6194 MB / 0.5405 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3766, allocations: 6.625 kB / 0.5405 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3768, allocations: 96.36 kB / 0.5406 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3768, allocations: 3.062 kB / 0.5406 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3768, allocations: 10.69 kB / 0.5406 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003783/0.3772, allocations: 1.793 MB / 0.5423 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3772, allocations: 0 / 0.5423 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3775, allocations: 404.6 kB / 0.5427 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.3776, allocations: 42.47 kB / 0.5428 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.3776, allocations: 14.5 kB / 0.5428 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3778, allocations: 17.42 kB / 0.5428 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3778, allocations: 24.95 kB / 0.5428 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3778, allocations: 22.02 kB / 0.5428 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3779, allocations: 197 kB / 0.543 GB, free: 14.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 0.543 GB, free: 14.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001296/0.3792, allocations: 437 kB / 0.5435 GB, free: 14.61 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.001101/0.3803, allocations: 0.6617 MB / 0.5441 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.381, allocations: 344.8 kB / 0.5444 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.381, allocations: 0 / 0.5444 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3812, allocations: 139.1 kB / 0.5446 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3816, allocations: 146.7 kB / 0.5447 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.3887, allocations: 5.993 MB / 0.5506 GB, free: 9.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.999e-05/0.3888, allocations: 102.7 kB / 0.5507 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.3893, allocations: 187 kB / 0.5508 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3894, allocations: 68.45 kB / 0.5509 GB, free: 9.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/0.3894, allocations: 4 kB / 0.5509 GB, free: 9.332 MB / 426.7 MB Notification: Performance of Templates: time 0.01713/0.4066, allocations: 13.56 MB / 0.5641 GB, free: 11.93 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4642485016956925]