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.001348/0.001348, allocations: 77.97 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.001101/0.001101, allocations: 166 kB / 24.82 MB, free: 8.938 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2963/0.2963, allocations: 32.8 MB / 294.6 MB, free: 1.227 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 2.044e-06/2.044e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.669e-05, allocations: 2.312 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.354/0.354, allocations: 145.4 MB / 0.5096 GB, free: 19.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.3611, allocations: 6.346 MB / 0.5158 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.3614, allocations: 2.781 kB / 0.5158 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.362, allocations: 93.45 kB / 0.5159 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007387/0.3693, allocations: 2.575 MB / 0.5184 GB, free: 14.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.3697, allocations: 172.9 kB / 0.5186 GB, free: 14.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.3707, allocations: 0.5604 MB / 0.5191 GB, free: 14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.3708, allocations: 19.52 kB / 0.5192 GB, free: 13.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.3714, allocations: 317.8 kB / 0.5195 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.3722, allocations: 376.4 kB / 0.5198 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.3722, allocations: 14.66 kB / 0.5198 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005547/0.3778, allocations: 2.965 MB / 0.5227 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3779, allocations: 108.1 kB / 0.5228 GB, free: 12.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3781, allocations: 124.4 kB / 0.523 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.3832, allocations: 1.961 MB / 0.5249 GB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3832, allocations: 0 / 0.5249 GB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3832, allocations: 2.906 kB / 0.5249 GB, free: 12.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3832, allocations: 4 kB / 0.5249 GB, free: 12.18 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.002091/0.3853, allocations: 1.002 MB / 0.5259 GB, free: 11.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3854, allocations: 10.91 kB / 0.5259 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.3856, allocations: 64.34 kB / 0.5259 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3858, allocations: 200.7 kB / 0.5261 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.3859, allocations: 232.2 kB / 0.5263 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.386, allocations: 33.81 kB / 0.5264 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.3864, allocations: 0.562 MB / 0.5269 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3864, allocations: 0 / 0.5269 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.3864, allocations: 14.97 kB / 0.5269 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.3864, allocations: 24.41 kB / 0.527 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.3869, allocations: 0.5911 MB / 0.5275 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3883, allocations: 1.855 MB / 0.5293 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3886, allocations: 210.4 kB / 0.5295 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.3887, allocations: 70.33 kB / 0.5296 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.3902, allocations: 1.129 MB / 0.5307 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3902, allocations: 44.17 kB / 0.5308 GB, free: 8.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.775e-06/0.3902, allocations: 3.938 kB / 0.5308 GB, free: 8.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001153/0.3913, allocations: 0.621 MB / 0.5314 GB, free: 8.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.3914, allocations: 57.47 kB / 0.5314 GB, free: 7.996 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3915, allocations: 276.5 kB / 0.5317 GB, free: 7.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3915, allocations: 36.23 kB / 0.5317 GB, free: 7.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.3916, allocations: 248.8 kB / 0.532 GB, free: 7.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.3917, allocations: 161.4 kB / 0.5321 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3918, allocations: 149.1 kB / 0.5323 GB, free: 7.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.3919, allocations: 0.5102 MB / 0.5328 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.3919, allocations: 67.28 kB / 0.5328 GB, free: 6.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3921, allocations: 0.5007 MB / 0.5333 GB, free: 6.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.3925, allocations: 0.6301 MB / 0.5339 GB, free: 5.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3925, allocations: 3.281 kB / 0.5339 GB, free: 5.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005589/0.3931, allocations: 0.4928 MB / 0.5344 GB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3931, allocations: 11.28 kB / 0.5344 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3931, allocations: 14.81 kB / 0.5344 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3931, allocations: 13.75 kB / 0.5344 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.3936, allocations: 195 kB / 0.5346 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003597/0.3939, allocations: 1.812 MB / 0.5364 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.3941, allocations: 21.47 kB / 0.5364 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.3942, allocations: 57.98 kB / 0.5365 GB, free: 3.469 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.0001157/0.3943, allocations: 201.9 kB / 0.5367 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.3943, allocations: 41.7 kB / 0.5367 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.395, allocations: 0.6248 MB / 0.5373 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.395, allocations: 9.172 kB / 0.5373 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.395, allocations: 0 / 0.5373 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.395, allocations: 2.766 kB / 0.5373 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.3956, allocations: 0.5623 MB / 0.5379 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3956, allocations: 0 / 0.5379 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3959, allocations: 107.9 kB / 0.538 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3959, allocations: 6.875 kB / 0.538 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3959, allocations: 15.55 kB / 0.538 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002628/0.3962, allocations: 1.783 MB / 0.5397 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3962, allocations: 10.69 kB / 0.5398 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3964, allocations: 380.2 kB / 0.5401 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.3965, allocations: 42.27 kB / 0.5402 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3965, allocations: 10.86 kB / 0.5402 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3966, allocations: 15.73 kB / 0.5402 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3967, allocations: 28.39 kB / 0.5402 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3967, allocations: 21.42 kB / 0.5402 GB, free: 368 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.3968, allocations: 192.6 kB / 0.5404 GB, free: 228 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3968, allocations: 0 / 0.5404 GB, free: 228 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001253/0.398, allocations: 430.1 kB / 0.5408 GB, free: 108 kB / 410.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.001178/0.3992, allocations: 0.6725 MB / 0.5415 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.3998, allocations: 321.7 kB / 0.5418 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3998, allocations: 0 / 0.5418 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.4, allocations: 136.3 kB / 0.5419 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.4005, allocations: 140.6 kB / 0.5421 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.4075, allocations: 5.99 MB / 0.5479 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.4075, allocations: 94.47 kB / 0.548 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005292/0.4081, allocations: 186.5 kB / 0.5482 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.4084, allocations: 231.2 kB / 0.5484 GB, free: 11.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4084, allocations: 4 kB / 0.5484 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Templates: time 0.02723/0.4356, allocations: 16.08 MB / 0.5641 GB, free: 11.6 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.3299385686405]