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.002567/0.002567, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002877/0.002877, allocations: 160.8 kB / 24.27 MB, free: 160 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.563/1.563, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3495/0.3495, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.042e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.01071/0.01074, allocations: 5.325 MB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.01457, allocations: 2.674 MB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.01466, allocations: 3.938 kB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.01493, allocations: 39.7 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.01847, allocations: 1.163 MB / 386.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.01884, allocations: 147.7 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.01934, allocations: 306.5 kB / 386.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.01938, allocations: 17.8 kB / 386.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.02079, allocations: 0.7873 MB / 387.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.0211, allocations: 151.6 kB / 387.8 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.02113, allocations: 8 kB / 387.8 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.02371, allocations: 1.333 MB / 389.2 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.02379, allocations: 35.83 kB / 389.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.02389, allocations: 59.84 kB / 389.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.02495, allocations: 0.5922 MB / 389.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.02496, allocations: 7.938 kB / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02496, allocations: 0 / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.02497, allocations: 0 / 389.9 MB, free: 6.176 MB / 362.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.001127/0.02609, allocations: 0.5963 MB / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.02613, allocations: 8.031 kB / 390.5 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.02665, allocations: 80.62 kB / 390.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.02693, allocations: 156.3 kB / 390.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.02697, allocations: 24.3 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.02701, allocations: 20.38 kB / 390.7 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.02753, allocations: 328.6 kB / 391.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.02754, allocations: 0 / 391.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.02757, allocations: 8 kB / 391.1 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.02758, allocations: 4 kB / 391.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.02796, allocations: 196.5 kB / 391.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.02955, allocations: 1.384 MB / 392.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.02979, allocations: 90.97 kB / 392.7 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.02988, allocations: 47.67 kB / 392.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.03115, allocations: 0.5431 MB / 393.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.03146, allocations: 219.8 kB / 393.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.03146, allocations: 0 / 393.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001031/0.03249, allocations: 369 kB / 393.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.03267, allocations: 273 kB / 394.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.03291, allocations: 226.7 kB / 394.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.03294, allocations: 29.7 kB / 394.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.03311, allocations: 198.9 kB / 394.6 MB, free: 1.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.03318, allocations: 71.41 kB / 394.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.0333, allocations: 67.36 kB / 394.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002746/0.03357, allocations: 0.5 MB / 395.3 MB, free: 392 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.03366, allocations: 43.97 kB / 395.3 MB, free: 348 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.03394, allocations: 242.8 kB / 395.5 MB, free: 12 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.03436, allocations: 316.8 kB / 395.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.03436, allocations: 4 kB / 395.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00049/0.03485, allocations: 273 kB / 396.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.03488, allocations: 15.41 kB / 396.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.03489, allocations: 4 kB / 396.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.03491, allocations: 12 kB / 396.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.03539, allocations: 103.8 kB / 396.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006015/0.03599, allocations: 0.9011 MB / 397.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.03613, allocations: 11.95 kB / 397.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.03617, allocations: 31.98 kB / 397.2 MB, free: 14.23 MB / 378.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 0.0001721/0.03634, allocations: 184.4 kB / 397.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.0364, allocations: 19.95 kB / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.03696, allocations: 260.4 kB / 397.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03696, allocations: 0 / 397.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.03697, allocations: 0 / 397.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.03697, allocations: 4 kB / 397.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.03744, allocations: 373.4 kB / 398 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.03745, allocations: 3.984 kB / 398 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.03779, allocations: 47.97 kB / 398.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.0378, allocations: 0 / 398.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.03781, allocations: 7.984 kB / 398.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005268/0.03834, allocations: 0.9011 MB / 399 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03834, allocations: 0 / 399 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.03859, allocations: 163.6 kB / 399.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.03867, allocations: 23.92 kB / 399.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.03871, allocations: 11.89 kB / 399.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.03883, allocations: 8 kB / 399.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.03887, allocations: 11.92 kB / 399.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.03889, allocations: 7.984 kB / 399.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.03904, allocations: 175.1 kB / 399.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03904, allocations: 4.062 kB / 399.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.03954, allocations: 139.7 kB / 399.5 MB, free: 11.76 MB / 378.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.0007286/0.04027, allocations: 258.9 kB / 399.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.04077, allocations: 176.9 kB / 399.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04078, allocations: 0 / 399.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.04098, allocations: 67.92 kB / 400 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.04137, allocations: 51.95 kB / 400.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.04291, allocations: 0.7724 MB / 400.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.04302, allocations: 98.61 kB / 400.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.04326, allocations: 85.64 kB / 401 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.04333, allocations: 32.48 kB / 401 MB, free: 10.16 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.04333, allocations: 0 / 401 MB, free: 10.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01055/0.05388, allocations: 4.738 MB / 405.8 MB, free: 5.469 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",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: 5.275418104953133]