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.001069/0.001069, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001114/0.001114, allocations: 160.5 kB / 24.55 MB, free: 16 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/1, allocations: 177 MB / 204.8 MB, free: 5.578 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.2803/0.2803, allocations: 34.86 MB / 296.3 MB, free: 468 kB / 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.563e-06/1.563e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.101e-05, allocations: 3.016 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3423/0.3423, allocations: 131.9 MB / 0.4987 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.3467, allocations: 4.854 MB / 0.5035 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.3468, allocations: 1.281 kB / 0.5035 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.3471, allocations: 69.7 kB / 0.5035 GB, free: 23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.3491, allocations: 0.7859 MB / 0.5043 GB, free: 22.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.3494, allocations: 162 kB / 0.5045 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.3499, allocations: 406.4 kB / 0.5049 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3499, allocations: 7.875 kB / 0.5049 GB, free: 22.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.3502, allocations: 211.1 kB / 0.5051 GB, free: 22.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3505, allocations: 175.9 kB / 0.5052 GB, free: 22.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.3505, allocations: 9.25 kB / 0.5052 GB, free: 22.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3515, allocations: 0.6295 MB / 0.5059 GB, free: 21.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.3516, allocations: 41.97 kB / 0.5059 GB, free: 21.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.3517, allocations: 85.58 kB / 0.506 GB, free: 21.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.3524, allocations: 473.3 kB / 0.5064 GB, free: 21.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3524, allocations: 5.219 kB / 0.5064 GB, free: 21.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3524, allocations: 3.938 kB / 0.5064 GB, free: 21.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3524, allocations: 0 / 0.5064 GB, free: 21.72 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.000819/0.3533, allocations: 0.6382 MB / 0.5071 GB, free: 21.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3533, allocations: 9.344 kB / 0.5071 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.3535, allocations: 53.59 kB / 0.5071 GB, free: 21.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3536, allocations: 165.1 kB / 0.5073 GB, free: 21.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.3537, allocations: 228.3 kB / 0.5075 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3537, allocations: 21.39 kB / 0.5075 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.3541, allocations: 467.5 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3542, allocations: 0.8906 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.3542, allocations: 11.94 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3542, allocations: 6.75 kB / 0.508 GB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.355, allocations: 0.5242 MB / 0.5085 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3561, allocations: 1.227 MB / 0.5097 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.3564, allocations: 156 kB / 0.5098 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3566, allocations: 71.48 kB / 0.5099 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.3577, allocations: 0.7843 MB / 0.5107 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3577, allocations: 43.98 kB / 0.5107 GB, free: 18.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3577, allocations: 0 / 0.5107 GB, free: 18.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004885/0.3582, allocations: 196.4 kB / 0.5109 GB, free: 18.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.3583, allocations: 55.55 kB / 0.511 GB, free: 18.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3584, allocations: 289.6 kB / 0.5112 GB, free: 18.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3584, allocations: 29.64 kB / 0.5113 GB, free: 18.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.3585, allocations: 273.1 kB / 0.5115 GB, free: 17.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3586, allocations: 58.8 kB / 0.5116 GB, free: 17.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3586, allocations: 94.67 kB / 0.5117 GB, free: 17.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.3587, allocations: 0.5067 MB / 0.5122 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.3588, allocations: 35.7 kB / 0.5122 GB, free: 17.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3589, allocations: 430.5 kB / 0.5126 GB, free: 16.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3592, allocations: 0.5056 MB / 0.5131 GB, free: 16.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3592, allocations: 2.906 kB / 0.5131 GB, free: 16.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003702/0.3596, allocations: 374.8 kB / 0.5135 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3596, allocations: 9.312 kB / 0.5135 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3596, allocations: 11.44 kB / 0.5135 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.3597, allocations: 15.19 kB / 0.5135 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3599, allocations: 108.6 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3599, allocations: 17.52 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.36, allocations: 16.12 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3601, allocations: 28.31 kB / 0.5137 GB, free: 16.03 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.636e-05/0.3601, allocations: 194 kB / 0.5138 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3602, allocations: 26.27 kB / 0.5139 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.3604, allocations: 157.7 kB / 0.514 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3604, allocations: 0 / 0.514 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3604, allocations: 4 kB / 0.514 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3604, allocations: 0.6562 kB / 0.514 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3608, allocations: 431.8 kB / 0.5144 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3608, allocations: 0 / 0.5144 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/0.3609, allocations: 29.56 kB / 0.5145 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3609, allocations: 2.438 kB / 0.5145 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3609, allocations: 7.391 kB / 0.5145 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3609, allocations: 0.875 kB / 0.5145 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.361, allocations: 7.375 kB / 0.5145 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3612, allocations: 272.4 kB / 0.5147 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3612, allocations: 29 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3612, allocations: 3.484 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3613, allocations: 9.234 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3614, allocations: 16.39 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3614, allocations: 8.203 kB / 0.5148 GB, free: 15.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.3615, allocations: 190 kB / 0.515 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3615, allocations: 0 / 0.515 GB, free: 14.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.3619, allocations: 98.91 kB / 0.5151 GB, free: 14.95 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.000331/0.3623, allocations: 156.5 kB / 0.5152 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.3626, allocations: 179.2 kB / 0.5154 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3626, allocations: 2.906 kB / 0.5154 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.3626, allocations: 38.25 kB / 0.5154 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.363, allocations: 61.12 kB / 0.5155 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3643, allocations: 0.498 MB / 0.516 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.3643, allocations: 74.12 kB / 0.5161 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.3645, allocations: 52.98 kB / 0.5161 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.3645, allocations: 28.89 kB / 0.5161 GB, free: 14.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3645, allocations: 0 / 0.5161 GB, free: 14.31 MB / 410.7 MB Notification: Performance of Templates: time 0.00696/0.3715, allocations: 3.54 MB / 0.5196 GB, free: 13.81 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.5760369799099863]