Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.001107/0.001107, allocations: 95.5 kB / 21.19 MB, free: 3.363 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.001157/0.001157, allocations: 156.5 kB / 24.55 MB, free: 8 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 1.042/1.042, allocations: 177 MB / 204.8 MB, free: 5.602 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.3027/0.3027, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 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.TestAllProperties.SimpleAir,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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.286e-05, allocations: 4.844 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3388/0.3388, allocations: 131.9 MB / 0.4987 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.3433, allocations: 4.858 MB / 0.5035 GB, free: 23.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.3434, allocations: 1.156 kB / 0.5035 GB, free: 23.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.3438, allocations: 65.42 kB / 0.5035 GB, free: 22.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.3458, allocations: 0.7896 MB / 0.5043 GB, free: 22.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3461, allocations: 160.9 kB / 0.5045 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.3466, allocations: 402.2 kB / 0.5049 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.3467, allocations: 8.641 kB / 0.5049 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.347, allocations: 215.4 kB / 0.5051 GB, free: 22.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.3473, allocations: 175.7 kB / 0.5052 GB, free: 22.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.3473, allocations: 8.25 kB / 0.5052 GB, free: 22.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3486, allocations: 0.6215 MB / 0.5058 GB, free: 21.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.3487, allocations: 53.94 kB / 0.5059 GB, free: 21.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3488, allocations: 82.19 kB / 0.506 GB, free: 21.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3498, allocations: 481.1 kB / 0.5064 GB, free: 21.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3498, allocations: 0 / 0.5064 GB, free: 21.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3498, allocations: 3.938 kB / 0.5064 GB, free: 21.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3498, allocations: 0.6094 kB / 0.5064 GB, free: 21.71 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001019/0.3508, allocations: 0.6297 MB / 0.5071 GB, free: 21.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3509, allocations: 9.625 kB / 0.5071 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.3511, allocations: 57.5 kB / 0.5071 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.3513, allocations: 170.8 kB / 0.5073 GB, free: 21.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.3514, allocations: 227.1 kB / 0.5075 GB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3514, allocations: 26.25 kB / 0.5075 GB, free: 20.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3519, allocations: 458.8 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3519, allocations: 3.188 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.3519, allocations: 15.59 kB / 0.508 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.3519, allocations: 8.078 kB / 0.508 GB, free: 20.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.3525, allocations: 0.5195 MB / 0.5085 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.3535, allocations: 1.231 MB / 0.5097 GB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3539, allocations: 151 kB / 0.5098 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.3539, allocations: 66.05 kB / 0.5099 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.355, allocations: 0.7848 MB / 0.5107 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.355, allocations: 42.03 kB / 0.5107 GB, free: 18.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.003e-06/0.355, allocations: 2.812 kB / 0.5107 GB, free: 18.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005045/0.3555, allocations: 194 kB / 0.5109 GB, free: 18.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.3555, allocations: 56.19 kB / 0.511 GB, free: 18.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3557, allocations: 294.4 kB / 0.5112 GB, free: 18.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3557, allocations: 36.39 kB / 0.5113 GB, free: 18.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.3558, allocations: 263.5 kB / 0.5115 GB, free: 17.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.3558, allocations: 56.67 kB / 0.5116 GB, free: 17.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.3559, allocations: 94.31 kB / 0.5117 GB, free: 17.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.3559, allocations: 0.5002 MB / 0.5122 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.356, allocations: 40.08 kB / 0.5122 GB, free: 17.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3562, allocations: 429.3 kB / 0.5126 GB, free: 16.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3565, allocations: 0.5097 MB / 0.5131 GB, free: 16.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3565, allocations: 10.88 kB / 0.5131 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004477/0.3569, allocations: 369.5 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3569, allocations: 8.719 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.357, allocations: 8.625 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.357, allocations: 23.16 kB / 0.5135 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.3572, allocations: 105.9 kB / 0.5136 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3572, allocations: 20.02 kB / 0.5136 GB, free: 16.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3574, allocations: 12.69 kB / 0.5136 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3574, allocations: 28.28 kB / 0.5137 GB, free: 16.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.3575, allocations: 192.5 kB / 0.5138 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.3575, allocations: 26.19 kB / 0.5139 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.3577, allocations: 150.2 kB / 0.514 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3577, allocations: 2.969 kB / 0.514 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3577, allocations: 0.6562 kB / 0.514 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3577, allocations: 0.8438 kB / 0.514 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.3581, allocations: 432.6 kB / 0.5144 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3581, allocations: 0 / 0.5144 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.3582, allocations: 39.31 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3582, allocations: 2.781 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3582, allocations: 0.8906 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3582, allocations: 2.719 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3582, allocations: 3.938 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3583, allocations: 272.5 kB / 0.5147 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3584, allocations: 25.77 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3584, allocations: 3.156 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3585, allocations: 12.31 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3586, allocations: 13.91 kB / 0.5148 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3586, allocations: 13.28 kB / 0.5148 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.3587, allocations: 186.4 kB / 0.515 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3587, allocations: 0 / 0.515 GB, free: 14.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.359, allocations: 98.14 kB / 0.5151 GB, free: 14.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002563/0.3593, allocations: 159.4 kB / 0.5152 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.3595, allocations: 181.1 kB / 0.5154 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3596, allocations: 3.938 kB / 0.5154 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.3596, allocations: 39.3 kB / 0.5154 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3599, allocations: 59.3 kB / 0.5155 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.3609, allocations: 0.4953 MB / 0.516 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.3609, allocations: 73.23 kB / 0.516 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3611, allocations: 58.88 kB / 0.5161 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3611, allocations: 29.81 kB / 0.5161 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3611, allocations: 0 / 0.5161 GB, free: 14.3 MB / 410.7 MB Notification: Performance of Templates: time 0.005097/0.3662, allocations: 3.138 MB / 0.5192 GB, free: 13.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.705819393042475]