Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001052/0.001052, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001368/0.001368, allocations: 153.5 kB / 24.99 MB, free: 8.219 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.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.59 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.2778/0.2778, allocations: 34.86 MB / 296.6 MB, free: 0.543 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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.726e-05, allocations: 2.312 kB / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0202/0.02024, allocations: 13.95 MB / 392.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02433/0.04457, allocations: 26.13 MB / 418.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.04476, allocations: 8 kB / 418.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.04516, allocations: 91.34 kB / 419 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0214/0.06656, allocations: 8.622 MB / 427.6 MB, free: 1.379 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.06748, allocations: 346.8 kB / 427.9 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.07122, allocations: 2.029 MB / 430 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.07129, allocations: 16.59 kB / 430 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.07184, allocations: 318.8 kB / 430.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.07715, allocations: 3.262 MB / 433.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.07719, allocations: 12 kB / 433.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/0.09474, allocations: 10.35 MB / 443.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.09482, allocations: 55.75 kB / 444 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.09496, allocations: 107.7 kB / 444.1 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1969/0.2919, allocations: 7.976 MB / 452 MB, free: 60.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.2919, allocations: 3.125 kB / 452.1 MB, free: 60.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2919, allocations: 0 / 452.1 MB, free: 60.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2919, allocations: 0 / 452.1 MB, free: 60.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005537/0.2974, allocations: 1.617 MB / 453.7 MB, free: 60.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2975, allocations: 10.23 kB / 453.7 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.2987, allocations: 345.6 kB / 454 MB, free: 59.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.299, allocations: 220.8 kB / 454.2 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.299, allocations: 24.28 kB / 454.3 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2991, allocations: 35.94 kB / 454.3 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.3007, allocations: 0.9492 MB / 455.2 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3007, allocations: 1.75 kB / 455.2 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.3007, allocations: 24.19 kB / 455.3 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3008, allocations: 5.719 kB / 455.3 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.3022, allocations: 0.8352 MB / 456.1 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.304, allocations: 2.486 MB / 458.6 MB, free: 57.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.305, allocations: 414.2 kB / 459 MB, free: 57.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3051, allocations: 69.36 kB / 459.1 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5136/0.8187, allocations: 161.8 MB / 0.6063 GB, free: 167 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.8198, allocations: 0.5195 MB / 0.6068 GB, free: 166.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 4.319e-06/0.8198, allocations: 3.469 kB / 0.6068 GB, free: 166.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002228/0.822, allocations: 0.8589 MB / 0.6077 GB, free: 166.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.8221, allocations: 377.8 kB / 0.608 GB, free: 166.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.8223, allocations: 253.6 kB / 0.6083 GB, free: 166.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.8223, allocations: 32.27 kB / 0.6083 GB, free: 166.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.8224, allocations: 244.1 kB / 0.6085 GB, free: 165.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.8224, allocations: 109.4 kB / 0.6086 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.8226, allocations: 138.7 kB / 0.6088 GB, free: 165.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.8226, allocations: 0.5044 MB / 0.6093 GB, free: 165.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.8228, allocations: 97.64 kB / 0.6094 GB, free: 165.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.823, allocations: 476.2 kB / 0.6098 GB, free: 164.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.8235, allocations: 0.6166 MB / 0.6104 GB, free: 164.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.8235, allocations: 2.75 kB / 0.6104 GB, free: 164.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006874/0.8242, allocations: 0.5096 MB / 0.6109 GB, free: 164.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.8242, allocations: 11.5 kB / 0.6109 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.8242, allocations: 8.188 kB / 0.6109 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.8243, allocations: 16.22 kB / 0.6109 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.8246, allocations: 136.8 kB / 0.6111 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.8246, allocations: 21.33 kB / 0.6111 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.8248, allocations: 53.12 kB / 0.6111 GB, free: 164.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.8248, allocations: 44.42 kB / 0.6112 GB, free: 164.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.825, allocations: 205.8 kB / 0.6114 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.825, allocations: 41.45 kB / 0.6114 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.8262, allocations: 1.503 MB / 0.6129 GB, free: 163.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.8262, allocations: 19.67 kB / 0.6129 GB, free: 163.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8262, allocations: 7.594 kB / 0.6129 GB, free: 163.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8262, allocations: 9.656 kB / 0.6129 GB, free: 163.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.8269, allocations: 0.7398 MB / 0.6136 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8269, allocations: 2.875 kB / 0.6137 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.8271, allocations: 72.08 kB / 0.6137 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8271, allocations: 9.625 kB / 0.6137 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.8271, allocations: 12.88 kB / 0.6137 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.8271, allocations: 11.47 kB / 0.6138 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8271, allocations: 2.844 kB / 0.6138 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.8278, allocations: 0.6294 MB / 0.6144 GB, free: 162.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.8278, allocations: 55.14 kB / 0.6144 GB, free: 162.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.8279, allocations: 105.6 kB / 0.6145 GB, free: 162.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.8281, allocations: 19.33 kB / 0.6145 GB, free: 162.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.8281, allocations: 37.83 kB / 0.6146 GB, free: 162.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8282, allocations: 12.72 kB / 0.6146 GB, free: 162.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004129/0.8286, allocations: 0.5229 MB / 0.6151 GB, free: 162.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8286, allocations: 3.312 kB / 0.6151 GB, free: 162.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005461/0.834, allocations: 1.534 MB / 0.6166 GB, free: 162.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008222/0.8423, allocations: 1.95 MB / 0.6185 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.8429, allocations: 364.9 kB / 0.6189 GB, free: 161.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.8429, allocations: 0 / 0.6189 GB, free: 161.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.8431, allocations: 180.8 kB / 0.619 GB, free: 161.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.8439, allocations: 231 kB / 0.6192 GB, free: 161.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.02/1.864, allocations: 0.6025 GB / 1.222 GB, free: 139.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.908e-05/1.864, allocations: 174.5 kB / 1.222 GB, free: 139.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004917/1.864, allocations: 0.5232 MB / 1.222 GB, free: 139.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.864, allocations: 60.47 kB / 1.223 GB, free: 139.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/1.864, allocations: 0 / 1.223 GB, free: 139.1 MB / 474.7 MB Notification: Performance of Templates: time 0.04395/1.908, allocations: 57.32 MB / 1.278 GB, free: 82.02 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.524125739000738]