Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.000939/0.000939, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001092/0.001092, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 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 0.9659/0.9659, allocations: 177 MB / 205.2 MB, free: 5.449 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.2536/0.2536, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.477e-06/1.08e-05, allocations: 2.859 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.004677/0.004687, allocations: 5.409 MB / 331.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.006639, allocations: 2.732 MB / 334.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.006687, allocations: 3.938 kB / 334.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.006882, allocations: 39.77 kB / 334.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.00849, allocations: 1.253 MB / 335.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.008682, allocations: 159.7 kB / 335.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.008962, allocations: 335.2 kB / 335.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.008994, allocations: 18.39 kB / 335.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.009664, allocations: 0.7601 MB / 336.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.009806, allocations: 155.6 kB / 336.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.009822, allocations: 11.98 kB / 336.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.01088, allocations: 1.292 MB / 338.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.01092, allocations: 35.83 kB / 338.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.01097, allocations: 63.78 kB / 338.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.01149, allocations: 0.5649 MB / 338.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01149, allocations: 0 / 338.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01149, allocations: 0 / 338.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.574e-06/0.01149, allocations: 3.938 kB / 338.8 MB, free: 10.28 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005298/0.01202, allocations: 488.7 kB / 339.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.452e-05/0.01205, allocations: 8.031 kB / 339.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.0123, allocations: 92.67 kB / 339.3 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.01242, allocations: 153.5 kB / 339.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.01244, allocations: 12.38 kB / 339.5 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.01247, allocations: 24.31 kB / 339.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.0128, allocations: 284.7 kB / 339.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01281, allocations: 0 / 339.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.01282, allocations: 8 kB / 339.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.01283, allocations: 4 kB / 339.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.01297, allocations: 143.9 kB / 339.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.01355, allocations: 0.9296 MB / 340.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.01364, allocations: 62.47 kB / 340.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.01367, allocations: 28.84 kB / 341 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.01416, allocations: 0.4888 MB / 341.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.01429, allocations: 182.1 kB / 341.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.01429, allocations: 4 kB / 341.6 MB, free: 7.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002323/0.01452, allocations: 159.9 kB / 341.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.01459, allocations: 269 kB / 342.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.01466, allocations: 156.1 kB / 342.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.01467, allocations: 33.7 kB / 342.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.01472, allocations: 157 kB / 342.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.01475, allocations: 63.47 kB / 342.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.0148, allocations: 65.91 kB / 342.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.01487, allocations: 322.8 kB / 342.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.01489, allocations: 24.55 kB / 342.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.01497, allocations: 170.7 kB / 343 MB, free: 5.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.0151, allocations: 227.3 kB / 343.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.0151, allocations: 0 / 343.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000153/0.01526, allocations: 193.7 kB / 343.4 MB, free: 5.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01527, allocations: 11.94 kB / 343.4 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01527, allocations: 4 kB / 343.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01529, allocations: 8 kB / 343.5 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01549, allocations: 91.8 kB / 343.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001801/0.01567, allocations: 0.586 MB / 344.1 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.01575, allocations: 27.78 kB / 344.2 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.01577, allocations: 19.98 kB / 344.2 MB, free: 4.371 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/0.01584, allocations: 140.6 kB / 344.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.01586, allocations: 19.98 kB / 344.3 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.01606, allocations: 204.5 kB / 344.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01607, allocations: 4 kB / 344.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01607, allocations: 3.984 kB / 344.5 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01607, allocations: 3.938 kB / 344.6 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.01629, allocations: 284.3 kB / 344.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01629, allocations: 0 / 344.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01641, allocations: 40.06 kB / 344.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01641, allocations: 0 / 344.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01642, allocations: 4 kB / 344.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001583/0.01658, allocations: 0.582 MB / 345.5 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01658, allocations: 4 kB / 345.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/0.01665, allocations: 102.8 kB / 345.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.01668, allocations: 23.89 kB / 345.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.01669, allocations: 4 kB / 345.6 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.01675, allocations: 11.92 kB / 345.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.01676, allocations: 15.98 kB / 345.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01677, allocations: 4 kB / 345.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.0168, allocations: 44.81 kB / 345.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0168, allocations: 0 / 345.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.01705, allocations: 135.7 kB / 345.8 MB, free: 2.652 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.01731, allocations: 251.9 kB / 346 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.01752, allocations: 131.1 kB / 346.2 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.01753, allocations: 8.062 kB / 346.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.0176, allocations: 44.86 kB / 346.2 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.01777, allocations: 64.22 kB / 346.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.0189, allocations: 0.7832 MB / 347.1 MB, free: 1.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.01892, allocations: 64.34 kB / 347.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.01904, allocations: 65.98 kB / 347.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01915, allocations: 109.3 kB / 347.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01915, allocations: 0 / 347.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of Templates: time 0.005641/0.02479, allocations: 5.142 MB / 352.4 MB, free: 12.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.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.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0118449931032956]