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.001405/0.001405, allocations: 88.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.001773/0.001773, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.062 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.2688/0.2688, allocations: 34.85 MB / 296.6 MB, free: 488 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.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 1.402e-06/1.402e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.346e-05, allocations: 3.625 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01278/0.0128, allocations: 13.98 MB / 340 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.03458, allocations: 26.12 MB / 366.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.03475, allocations: 4 kB / 366.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.03508, allocations: 95.36 kB / 366.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01749/0.05257, allocations: 7.921 MB / 374.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.05332, allocations: 358.8 kB / 374.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.05588, allocations: 2.055 MB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.05594, allocations: 14.56 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.05655, allocations: 330.8 kB / 376.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.05982, allocations: 3.281 MB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.05986, allocations: 12 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/0.0759, allocations: 11.13 MB / 391.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.07598, allocations: 55.69 kB / 391.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.07613, allocations: 111.8 kB / 391.5 MB, free: 5.375 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.09012, allocations: 7.978 MB / 399.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.09012, allocations: 4 kB / 399.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09012, allocations: 0 / 399.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09013, allocations: 0 / 399.4 MB, free: 13.38 MB / 378.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.003835/0.09397, allocations: 1.531 MB / 401 MB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.09401, allocations: 8.031 kB / 401 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.09524, allocations: 372 kB / 401.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.09553, allocations: 201.3 kB / 401.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.09556, allocations: 25.03 kB / 401.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.0956, allocations: 36.36 kB / 401.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.09703, allocations: 0.8928 MB / 402.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.09704, allocations: 7.938 kB / 402.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.09707, allocations: 12 kB / 402.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.09708, allocations: 12 kB / 402.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.09832, allocations: 0.7075 MB / 403.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.09996, allocations: 1.804 MB / 405 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.1007, allocations: 387.2 kB / 405.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.1008, allocations: 56.7 kB / 405.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5023/0.6032, allocations: 190.6 MB / 0.5821 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.6042, allocations: 488.1 kB / 0.5826 GB, free: 4.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/0.6042, allocations: 0 / 0.5826 GB, free: 4.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001841/0.606, allocations: 0.7905 MB / 0.5834 GB, free: 3.809 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6061, allocations: 371.3 kB / 0.5837 GB, free: 3.363 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.6063, allocations: 202.4 kB / 0.5839 GB, free: 3.184 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.6063, allocations: 36.28 kB / 0.5839 GB, free: 3.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.6064, allocations: 189.6 kB / 0.5841 GB, free: 2.973 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.6065, allocations: 114.3 kB / 0.5842 GB, free: 2.879 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.6066, allocations: 105.9 kB / 0.5843 GB, free: 2.809 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6067, allocations: 342.9 kB / 0.5847 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.6068, allocations: 76.47 kB / 0.5847 GB, free: 2.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.6071, allocations: 344.3 kB / 0.5851 GB, free: 1.977 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.6075, allocations: 490.8 kB / 0.5855 GB, free: 1.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6075, allocations: 4 kB / 0.5855 GB, free: 1.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003993/0.6079, allocations: 387.9 kB / 0.5859 GB, free: 1.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6079, allocations: 16.03 kB / 0.5859 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6079, allocations: 10.75 kB / 0.5859 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6079, allocations: 13.53 kB / 0.5859 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.6082, allocations: 141.7 kB / 0.5861 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.6082, allocations: 18.28 kB / 0.5861 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6084, allocations: 49.28 kB / 0.5861 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.6084, allocations: 34.16 kB / 0.5862 GB, free: 0.9141 MB / 458.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,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.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.000122/0.6085, allocations: 154.4 kB / 0.5863 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.6086, allocations: 30.09 kB / 0.5863 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6099, allocations: 1.431 MB / 0.5877 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.6099, allocations: 26 kB / 0.5878 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6099, allocations: 4 kB / 0.5878 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6099, allocations: 0 / 0.5878 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.6105, allocations: 0.5526 MB / 0.5883 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6105, allocations: 7.938 kB / 0.5883 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.6106, allocations: 79.58 kB / 0.5884 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.6106, allocations: 4 kB / 0.5884 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6107, allocations: 8 kB / 0.5884 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6107, allocations: 7.984 kB / 0.5884 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6107, allocations: 14.66 kB / 0.5884 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.6111, allocations: 498.4 kB / 0.5889 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.6111, allocations: 59.44 kB / 0.589 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.6112, allocations: 107 kB / 0.5891 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.6114, allocations: 18.48 kB / 0.5891 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.6114, allocations: 35.55 kB / 0.5891 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6114, allocations: 12 kB / 0.5891 GB, free: 14.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.6117, allocations: 340.7 kB / 0.5894 GB, free: 13.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6117, allocations: 4 kB / 0.5894 GB, free: 13.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003967/0.6156, allocations: 1.528 MB / 0.5909 GB, free: 12.28 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.005857/0.6215, allocations: 2.074 MB / 0.593 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.622, allocations: 308.1 kB / 0.5933 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/0.622, allocations: 16.06 kB / 0.5933 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.6222, allocations: 139.3 kB / 0.5934 GB, free: 9.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.6227, allocations: 208.2 kB / 0.5936 GB, free: 9.758 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.103/1.726, allocations: 0.5999 GB / 1.193 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/1.726, allocations: 171.8 kB / 1.194 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005807/1.726, allocations: 0.5201 MB / 1.194 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/1.727, allocations: 161.8 kB / 1.194 GB, free: 113.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.244e-06/1.727, allocations: 0 / 1.194 GB, free: 113.6 MB / 474.7 MB Notification: Performance of Templates: time 0.05016/1.777, allocations: 65.03 MB / 1.258 GB, free: 48.9 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 -s gbode -gbm=radauIIA3 -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.307067700196058]