Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9898/0.9898, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1438/0.1438, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.498e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.004576/0.004591, allocations: 5.378 MB / 382.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.006454, allocations: 2.694 MB / 385.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.006519, allocations: 0 / 385.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.006731, allocations: 43.7 kB / 385.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.008525, allocations: 1.233 MB / 386.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.00871, allocations: 167.7 kB / 386.8 MB, free: 16.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.008978, allocations: 330.5 kB / 387.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.009015, allocations: 9.812 kB / 387.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.009679, allocations: 0.8262 MB / 388 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.009842, allocations: 151.7 kB / 388.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.00986, allocations: 8 kB / 388.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.01096, allocations: 1.349 MB / 389.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.01101, allocations: 39.83 kB / 389.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.01106, allocations: 59.84 kB / 389.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.01158, allocations: 0.5726 MB / 390.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01158, allocations: 0 / 390.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01159, allocations: 0 / 390.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01159, allocations: 0 / 390.1 MB, free: 12.67 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.0005953/0.01219, allocations: 0.6006 MB / 390.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.01222, allocations: 8.031 kB / 390.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.01248, allocations: 84.55 kB / 390.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.01261, allocations: 152.4 kB / 391 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.01262, allocations: 12.38 kB / 391 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.01264, allocations: 20.38 kB / 391 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.01285, allocations: 305.5 kB / 391.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01286, allocations: 0 / 391.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.01288, allocations: 12 kB / 391.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01288, allocations: 8 kB / 391.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01302, allocations: 141.1 kB / 391.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.0136, allocations: 1.345 MB / 392.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.01371, allocations: 75.02 kB / 392.9 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.01374, allocations: 31.67 kB / 392.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.01416, allocations: 0.5469 MB / 393.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.01428, allocations: 211.8 kB / 393.7 MB, free: 8.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.01429, allocations: 7.922 kB / 393.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004985/0.01478, allocations: 234.7 kB / 393.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.01484, allocations: 273 kB / 394.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.01491, allocations: 220.7 kB / 394.4 MB, free: 8.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.01493, allocations: 29.7 kB / 394.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.01498, allocations: 198.9 kB / 394.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.01501, allocations: 67.42 kB / 394.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.01506, allocations: 75.28 kB / 394.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.0151, allocations: 0.4962 MB / 395.2 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.01513, allocations: 27.83 kB / 395.3 MB, free: 7.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01523, allocations: 230.5 kB / 395.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01539, allocations: 292.8 kB / 395.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01539, allocations: 4 kB / 395.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002247/0.01562, allocations: 236.2 kB / 396 MB, free: 6.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.01564, allocations: 8 kB / 396 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01565, allocations: 7.938 kB / 396 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01566, allocations: 8.656 kB / 396 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.01591, allocations: 107.8 kB / 396.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002019/0.01611, allocations: 0.9049 MB / 397 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.01619, allocations: 8 kB / 397.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.01621, allocations: 23.98 kB / 397.1 MB, free: 5.113 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 6.606e-05/0.01628, allocations: 184.4 kB / 397.3 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.01631, allocations: 23.91 kB / 397.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.01653, allocations: 223.6 kB / 397.5 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01653, allocations: 8.031 kB / 397.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01653, allocations: 0 / 397.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01654, allocations: 3.984 kB / 397.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.01673, allocations: 338 kB / 397.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01673, allocations: 0 / 397.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.01691, allocations: 59.94 kB / 397.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01691, allocations: 0 / 397.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01692, allocations: 4 kB / 397.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001545/0.01707, allocations: 0.8972 MB / 398.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01707, allocations: 3.938 kB / 398.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.01718, allocations: 151.6 kB / 399 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01721, allocations: 23.89 kB / 399 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.01723, allocations: 7.938 kB / 399 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.0173, allocations: 7.984 kB / 399 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.01731, allocations: 11.92 kB / 399 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01732, allocations: 8 kB / 399 MB, free: 3.039 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.01737, allocations: 155.1 kB / 399.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01737, allocations: 0 / 399.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01768, allocations: 147.7 kB / 399.3 MB, free: 2.742 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 (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.0002642/0.01795, allocations: 262.9 kB / 399.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.01818, allocations: 143.9 kB / 399.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01818, allocations: 0 / 399.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.01826, allocations: 52.89 kB / 399.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01852, allocations: 71.3 kB / 399.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.01946, allocations: 0.7892 MB / 400.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.01949, allocations: 68.36 kB / 400.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.01964, allocations: 66.02 kB / 400.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01974, allocations: 134.1 kB / 400.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01974, allocations: 4 kB / 400.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of Templates: time 0.00657/0.02631, allocations: 5.331 MB / 406.2 MB, free: 11.83 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5062971361912787]