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.001375/0.001375, 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.001859/0.001859, allocations: 167.9 kB / 24.91 MB, free: 8.262 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.9885/0.9885, 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.2686/0.2686, allocations: 34.87 MB / 296.6 MB, free: 476 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.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.363e-06/1.363e-06, allocations: 0 / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.563e-05, allocations: 4.984 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005485/0.005501, allocations: 5.451 MB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.007661, allocations: 2.728 MB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.007718, allocations: 4 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.00793, allocations: 55.62 kB / 334.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.009608, allocations: 1.21 MB / 335.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.009812, allocations: 163.8 kB / 335.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.01012, allocations: 331.3 kB / 335.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.01015, allocations: 10.41 kB / 335.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.0109, allocations: 0.7756 MB / 336.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.01105, allocations: 143.7 kB / 336.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.01107, allocations: 8 kB / 336.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.01237, allocations: 1.337 MB / 338.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.01242, allocations: 31.84 kB / 338.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.01247, allocations: 63.83 kB / 338.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.01307, allocations: 0.5765 MB / 338.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01307, allocations: 0 / 338.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01307, allocations: 0 / 338.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.01308, allocations: 0 / 338.9 MB, free: 10.15 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.0005839/0.01366, allocations: 480.7 kB / 339.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.01369, allocations: 12.03 kB / 339.3 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.01399, allocations: 96.61 kB / 339.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.01414, allocations: 149.5 kB / 339.6 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.01415, allocations: 8.375 kB / 339.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.01417, allocations: 24.38 kB / 339.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.0144, allocations: 280.7 kB / 339.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01441, allocations: 4 kB / 339.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.01442, allocations: 4 kB / 339.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.01443, allocations: 7.984 kB / 339.9 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.01458, allocations: 140 kB / 340 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.01524, allocations: 0.9374 MB / 341 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.01534, allocations: 58.47 kB / 341 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.01537, allocations: 24.86 kB / 341.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.0159, allocations: 0.5043 MB / 341.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.01605, allocations: 182.1 kB / 341.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.01605, allocations: 0 / 341.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002553/0.0163, allocations: 162.2 kB / 341.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.01639, allocations: 265 kB / 342.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.01647, allocations: 172.7 kB / 342.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01649, allocations: 25.7 kB / 342.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.01655, allocations: 148 kB / 342.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.01659, allocations: 67.45 kB / 342.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.01664, allocations: 61.92 kB / 342.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.01673, allocations: 322.8 kB / 342.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.01675, allocations: 24.55 kB / 343 MB, free: 5.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.01684, allocations: 166.8 kB / 343.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.01699, allocations: 234.6 kB / 343.4 MB, free: 5.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.017, allocations: 0 / 343.4 MB, free: 5.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001723/0.01717, allocations: 193.1 kB / 343.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01718, allocations: 11.94 kB / 343.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01719, allocations: 4 kB / 343.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.0172, allocations: 8 kB / 343.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.01743, allocations: 95.81 kB / 343.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002258/0.01766, allocations: 0.5904 MB / 344.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.01773, allocations: 27.78 kB / 344.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.01776, allocations: 23.98 kB / 344.3 MB, free: 4.227 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.396e-05/0.01783, allocations: 132.5 kB / 344.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.01785, allocations: 19.98 kB / 344.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.01808, allocations: 193.8 kB / 344.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01808, allocations: 4 kB / 344.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01809, allocations: 3.984 kB / 344.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01809, allocations: 8.047 kB / 344.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.01834, allocations: 288.3 kB / 344.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01834, allocations: 0 / 344.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.01847, allocations: 39.97 kB / 345 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01847, allocations: 0 / 345 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01848, allocations: 4 kB / 345 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002092/0.01869, allocations: 0.5859 MB / 345.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01869, allocations: 3.984 kB / 345.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.01877, allocations: 113.5 kB / 345.7 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.0188, allocations: 19.84 kB / 345.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01882, allocations: 8 kB / 345.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.01887, allocations: 7.922 kB / 345.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.01889, allocations: 11.98 kB / 345.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.0189, allocations: 7.938 kB / 345.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.01893, allocations: 44.81 kB / 345.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01893, allocations: 0 / 345.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.0192, allocations: 135.7 kB / 345.9 MB, free: 2.512 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.0003205/0.01952, allocations: 240 kB / 346.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.01978, allocations: 145.1 kB / 346.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.01979, allocations: 4 kB / 346.3 MB, free: 2.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.01986, allocations: 44.77 kB / 346.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.02005, allocations: 61.5 kB / 346.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.02107, allocations: 0.7735 MB / 347.2 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.02111, allocations: 72.28 kB / 347.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.02125, allocations: 70.31 kB / 347.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.02136, allocations: 101.3 kB / 347.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02136, allocations: 4 kB / 347.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of Templates: time 0.006271/0.02763, allocations: 5.141 MB / 352.5 MB, free: 11.91 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 -s gbode -gbm=radauIIA3 -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.0100932302884758]