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.001601/0.001601, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001339/0.001339, allocations: 164.8 kB / 25.61 MB, free: 8.586 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 1.024/1.024, allocations: 177 MB / 205.9 MB, free: 4.43 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.175/0.175, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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 3.105e-06/3.105e-06, allocations: 3.984 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.557e-05, allocations: 7.938 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005662/0.005688, allocations: 5.353 MB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.00796, allocations: 2.701 MB / 388.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.00807, allocations: 3.938 kB / 388.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.008457, allocations: 43.75 kB / 388.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.01195, allocations: 1.233 MB / 389.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.01237, allocations: 159.7 kB / 389.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.01293, allocations: 346.4 kB / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.013, allocations: 5.812 kB / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01405, allocations: 0.8185 MB / 390.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.0143, allocations: 151.6 kB / 390.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.01433, allocations: 8 kB / 390.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.0161, allocations: 1.353 MB / 392.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.01618, allocations: 35.84 kB / 392.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.01625, allocations: 59.89 kB / 392.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008724/0.01712, allocations: 0.5765 MB / 392.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01713, allocations: 0 / 392.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01713, allocations: 0 / 392.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.01714, allocations: 0 / 392.9 MB, free: 9.812 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.0009187/0.01806, allocations: 0.5967 MB / 393.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.01811, allocations: 11.97 kB / 393.5 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.0185, allocations: 80.56 kB / 393.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.01873, allocations: 156.4 kB / 393.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.01874, allocations: 16.38 kB / 393.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.01877, allocations: 20.36 kB / 393.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.01906, allocations: 304.5 kB / 394 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01907, allocations: 3.984 kB / 394.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.01909, allocations: 8 kB / 394.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.0191, allocations: 4 kB / 394.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.01928, allocations: 149.1 kB / 394.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.0201, allocations: 1.349 MB / 395.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.02025, allocations: 75.02 kB / 395.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.02029, allocations: 35.66 kB / 395.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.02083, allocations: 0.5392 MB / 396.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.021, allocations: 207.8 kB / 396.4 MB, free: 6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.02101, allocations: 0 / 396.4 MB, free: 6 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005949/0.0216, allocations: 241.1 kB / 396.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.02166, allocations: 261 kB / 396.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.02176, allocations: 220.3 kB / 397.1 MB, free: 5.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.02177, allocations: 29.7 kB / 397.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.02184, allocations: 203.9 kB / 397.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.02188, allocations: 71.42 kB / 397.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.02194, allocations: 75.22 kB / 397.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.02202, allocations: 0.5001 MB / 398 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.02205, allocations: 23.84 kB / 398 MB, free: 4.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.841e-05/0.02215, allocations: 230.5 kB / 398.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.02233, allocations: 292.2 kB / 398.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02233, allocations: 8 kB / 398.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002542/0.02258, allocations: 237.7 kB / 398.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.02261, allocations: 9.719 kB / 398.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.02262, allocations: 11.94 kB / 398.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.02264, allocations: 4 kB / 398.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.02296, allocations: 95.88 kB / 398.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/0.02325, allocations: 0.9088 MB / 399.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.02335, allocations: 8 kB / 399.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.02338, allocations: 19.98 kB / 399.8 MB, free: 2.266 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 (35): * Single equations (assignments): 34 * 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 9.736e-05/0.02348, allocations: 192.4 kB / 400 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.02352, allocations: 19.91 kB / 400 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.02385, allocations: 248 kB / 400.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02385, allocations: 0 / 400.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.02385, allocations: 0 / 400.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02386, allocations: 4 kB / 400.3 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.02415, allocations: 330 kB / 400.6 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02416, allocations: 4 kB / 400.6 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.02434, allocations: 56.05 kB / 400.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.02434, allocations: 0 / 400.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.02435, allocations: 4 kB / 400.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001855/0.02454, allocations: 0.8971 MB / 401.6 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02454, allocations: 3.938 kB / 401.6 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.02466, allocations: 149.8 kB / 401.7 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.02471, allocations: 23.89 kB / 401.7 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.02473, allocations: 7.984 kB / 401.7 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.0248, allocations: 0 / 401.7 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.02482, allocations: 27.92 kB / 401.8 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.02483, allocations: 4 kB / 401.8 MB, free: 184 kB / 314.7 MB Notification: Performance of sorting global known variables: time 6.229e-05/0.02489, allocations: 159.1 kB / 401.9 MB, free: 24 kB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02489, allocations: 0 / 401.9 MB, free: 24 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000451/0.02534, allocations: 139.7 kB / 402.1 MB, free: 15.89 MB / 330.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 (12): * Single equations (assignments): 11 * 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.0004221/0.02577, allocations: 254.9 kB / 402.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.0261, allocations: 149 kB / 402.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.02611, allocations: 4.188 kB / 402.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.0262, allocations: 55.58 kB / 402.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.02649, allocations: 63.88 kB / 402.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.02791, allocations: 0.781 MB / 403.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.02796, allocations: 72.33 kB / 403.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.02817, allocations: 78.64 kB / 403.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.02832, allocations: 138.1 kB / 403.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.02832, allocations: 0 / 403.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Templates: time 0.00827/0.03659, allocations: 5.313 MB / 408.9 MB, free: 9.027 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.7553820107132196]