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.001571/0.001571, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001594/0.001594, allocations: 161 kB / 24.56 MB, free: 16 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.641 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.296/0.296, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.342e-06/1.342e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.105e-05, allocations: 9.484 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3105/0.3105, allocations: 148.1 MB / 0.5138 GB, free: 16.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.3154, allocations: 6.415 MB / 0.5201 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3156, allocations: 2.469 kB / 0.5201 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.316, allocations: 85.28 kB / 0.5202 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.3206, allocations: 2.576 MB / 0.5227 GB, free: 10.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.3209, allocations: 183.2 kB / 0.5229 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.3214, allocations: 0.5643 MB / 0.5234 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.3214, allocations: 10.44 kB / 0.5234 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.3217, allocations: 313 kB / 0.5237 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.3222, allocations: 381.6 kB / 0.5241 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3222, allocations: 13.94 kB / 0.5241 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.3257, allocations: 2.964 MB / 0.527 GB, free: 9.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3258, allocations: 106.3 kB / 0.5271 GB, free: 9.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.326, allocations: 122.9 kB / 0.5272 GB, free: 9.355 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.3288, allocations: 1.957 MB / 0.5291 GB, free: 8.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3288, allocations: 0 / 0.5291 GB, free: 8.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3288, allocations: 0 / 0.5291 GB, free: 8.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3289, allocations: 0 / 0.5291 GB, free: 8.758 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.001654/0.3305, allocations: 1.013 MB / 0.5301 GB, free: 8.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3306, allocations: 8.875 kB / 0.5301 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.3308, allocations: 67.06 kB / 0.5302 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.331, allocations: 193.5 kB / 0.5304 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.3311, allocations: 239.3 kB / 0.5306 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.3311, allocations: 31.25 kB / 0.5306 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.3316, allocations: 0.5958 MB / 0.5312 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3317, allocations: 0 / 0.5312 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3317, allocations: 17.69 kB / 0.5312 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.3318, allocations: 25.48 kB / 0.5312 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.3324, allocations: 0.6912 MB / 0.5319 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3337, allocations: 1.882 MB / 0.5338 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3341, allocations: 228.6 kB / 0.534 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/0.3342, allocations: 96.33 kB / 0.5341 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.3354, allocations: 1.075 MB / 0.5351 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3354, allocations: 43.77 kB / 0.5352 GB, free: 4.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.3354, allocations: 4 kB / 0.5352 GB, free: 4.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001274/0.3367, allocations: 0.6632 MB / 0.5358 GB, free: 4.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.3367, allocations: 57.22 kB / 0.5359 GB, free: 4.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3368, allocations: 281 kB / 0.5361 GB, free: 4.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3368, allocations: 32.73 kB / 0.5362 GB, free: 4.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.3369, allocations: 243.2 kB / 0.5364 GB, free: 4.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.337, allocations: 166.7 kB / 0.5366 GB, free: 3.895 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3371, allocations: 139.8 kB / 0.5367 GB, free: 3.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.3371, allocations: 0.512 MB / 0.5372 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.3372, allocations: 74.59 kB / 0.5373 GB, free: 3.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3374, allocations: 0.5129 MB / 0.5378 GB, free: 2.703 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.3378, allocations: 0.6577 MB / 0.5384 GB, free: 2.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3378, allocations: 7.438 kB / 0.5384 GB, free: 2.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005466/0.3383, allocations: 0.5165 MB / 0.5389 GB, free: 1.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3384, allocations: 18.31 kB / 0.5389 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3384, allocations: 13.41 kB / 0.5389 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3384, allocations: 17.41 kB / 0.539 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.3388, allocations: 197.7 kB / 0.5392 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004089/0.3392, allocations: 1.813 MB / 0.5409 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3394, allocations: 19.53 kB / 0.5409 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.3394, allocations: 55.5 kB / 0.541 GB, free: 15.95 MB / 426.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.000152/0.3396, allocations: 208.6 kB / 0.5412 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.3396, allocations: 39.2 kB / 0.5412 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.3404, allocations: 0.6318 MB / 0.5418 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3404, allocations: 2.938 kB / 0.5418 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3404, allocations: 0 / 0.5418 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.3404, allocations: 3.984 kB / 0.5419 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.3411, allocations: 0.6194 MB / 0.5425 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3411, allocations: 6.312 kB / 0.5425 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3413, allocations: 97.22 kB / 0.5426 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.3413, allocations: 2.875 kB / 0.5426 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3413, allocations: 13.2 kB / 0.5426 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005255/0.3419, allocations: 1.792 MB / 0.5443 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3419, allocations: 0 / 0.5443 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3422, allocations: 396.7 kB / 0.5447 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.3423, allocations: 46.19 kB / 0.5447 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.3423, allocations: 10.62 kB / 0.5448 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3424, allocations: 24.25 kB / 0.5448 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3425, allocations: 24.73 kB / 0.5448 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3425, allocations: 11.47 kB / 0.5448 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.3426, allocations: 204.3 kB / 0.545 GB, free: 12.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3426, allocations: 0 / 0.545 GB, free: 12.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001175/0.3438, allocations: 428.9 kB / 0.5454 GB, free: 12.29 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.00116/0.3449, allocations: 0.6784 MB / 0.5461 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.3455, allocations: 330.7 kB / 0.5464 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3455, allocations: 7.188 kB / 0.5464 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.3457, allocations: 142.9 kB / 0.5465 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3462, allocations: 154.5 kB / 0.5467 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.3528, allocations: 5.98 MB / 0.5525 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.3529, allocations: 102.8 kB / 0.5526 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004328/0.3533, allocations: 187 kB / 0.5528 GB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3535, allocations: 72.44 kB / 0.5529 GB, free: 6.133 MB / 426.7 MB Notification: Performance of SimCode: time 2.454e-06/0.3535, allocations: 0 / 0.5529 GB, free: 6.133 MB / 426.7 MB Notification: Performance of Templates: time 0.01907/0.3725, allocations: 15.9 MB / 0.5684 GB, free: 6.383 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.300325965043157]