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.001169/0.001169, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009715/0.0009715, allocations: 160.5 kB / 24.55 MB, free: 16 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.578 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.285/0.285, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.314e-06/2.314e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.328e-05, allocations: 4.984 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01254/0.01257, allocations: 13.97 MB / 392.8 MB, free: 4.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.03351, allocations: 26.2 MB / 419 MB, free: 9.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.0337, allocations: 0 / 419 MB, free: 9.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.03406, allocations: 91.41 kB / 419.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02034/0.0544, allocations: 8.67 MB / 427.7 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.05521, allocations: 362.7 kB / 428.1 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.05824, allocations: 2.052 MB / 430.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.0583, allocations: 16.59 kB / 430.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.05876, allocations: 322.9 kB / 430.5 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.06262, allocations: 3.274 MB / 433.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.06266, allocations: 12 kB / 433.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.0776, allocations: 10.36 MB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.07771, allocations: 51.75 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.0779, allocations: 103.8 kB / 444.3 MB, free: 308 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2002/0.2781, allocations: 7.987 MB / 452.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2781, allocations: 0 / 452.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2781, allocations: 0 / 452.3 MB, free: 60.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2781, allocations: 2.969 kB / 452.3 MB, free: 60.84 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.004196/0.2823, allocations: 1.615 MB / 453.9 MB, free: 59.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2824, allocations: 11.5 kB / 453.9 MB, free: 59.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.2834, allocations: 347.8 kB / 454.2 MB, free: 59.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2836, allocations: 219.9 kB / 454.4 MB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2837, allocations: 19.03 kB / 454.5 MB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.2837, allocations: 36.06 kB / 454.5 MB, free: 59.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.285, allocations: 0.9559 MB / 455.5 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2851, allocations: 5.422 kB / 455.5 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.2851, allocations: 22.05 kB / 455.5 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2851, allocations: 6.438 kB / 455.5 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.2863, allocations: 0.832 MB / 456.3 MB, free: 59.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.288, allocations: 2.484 MB / 458.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/0.2888, allocations: 415.8 kB / 459.2 MB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.2888, allocations: 71.12 kB / 459.3 MB, free: 57.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.488/0.7768, allocations: 161.8 MB / 0.6065 GB, free: 132.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/0.7778, allocations: 0.5134 MB / 0.607 GB, free: 131.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.015e-06/0.7778, allocations: 0.5938 kB / 0.607 GB, free: 131.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001914/0.7797, allocations: 0.8586 MB / 0.6079 GB, free: 131.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.7798, allocations: 377.8 kB / 0.6082 GB, free: 131.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.7799, allocations: 259.3 kB / 0.6085 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.78, allocations: 32.67 kB / 0.6085 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.7801, allocations: 241.2 kB / 0.6087 GB, free: 131.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.7801, allocations: 123 kB / 0.6089 GB, free: 131 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.7803, allocations: 131 kB / 0.609 GB, free: 131 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7804, allocations: 0.503 MB / 0.6095 GB, free: 130.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7805, allocations: 99.27 kB / 0.6096 GB, free: 130.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.7807, allocations: 477.2 kB / 0.61 GB, free: 130 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.7814, allocations: 0.6072 MB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7814, allocations: 2.938 kB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009897/0.7824, allocations: 0.5143 MB / 0.6111 GB, free: 129.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.7824, allocations: 17.88 kB / 0.6111 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.7824, allocations: 8.75 kB / 0.6111 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.7825, allocations: 11.56 kB / 0.6112 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.7829, allocations: 140.6 kB / 0.6113 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.7829, allocations: 16.98 kB / 0.6113 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.7832, allocations: 47.5 kB / 0.6113 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.7833, allocations: 44.97 kB / 0.6114 GB, free: 129.5 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.0001721/0.7834, allocations: 205.2 kB / 0.6116 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.7836, allocations: 44.89 kB / 0.6116 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.7852, allocations: 1.502 MB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.7852, allocations: 22.73 kB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.7852, allocations: 11.34 kB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.7852, allocations: 5.875 kB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.7862, allocations: 0.7433 MB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.7862, allocations: 3.125 kB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.7864, allocations: 72.27 kB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.7864, allocations: 9.172 kB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7864, allocations: 13.31 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.7864, allocations: 5.969 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7864, allocations: 10.66 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.7873, allocations: 0.6284 MB / 0.6146 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.7873, allocations: 52.8 kB / 0.6146 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.7875, allocations: 105.6 kB / 0.6147 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.7877, allocations: 20.34 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.7878, allocations: 34.02 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.7878, allocations: 20.55 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005691/0.7884, allocations: 0.519 MB / 0.6153 GB, free: 128.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7884, allocations: 0 / 0.6153 GB, free: 128.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006112/0.7945, allocations: 1.53 MB / 0.6168 GB, free: 128.2 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.007309/0.8018, allocations: 1.961 MB / 0.6187 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.8025, allocations: 360.7 kB / 0.6191 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.8025, allocations: 3.062 kB / 0.6191 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.8027, allocations: 175.8 kB / 0.6192 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.8033, allocations: 235.5 kB / 0.6195 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.02/1.823, allocations: 0.6089 GB / 1.228 GB, free: 84.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/1.823, allocations: 174.2 kB / 1.229 GB, free: 84.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005789/1.824, allocations: 0.5273 MB / 1.229 GB, free: 84.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.824, allocations: 60.47 kB / 1.229 GB, free: 84.19 MB / 474.7 MB Notification: Performance of SimCode: time 2.455e-06/1.824, allocations: 0 / 1.229 GB, free: 84.19 MB / 474.7 MB Notification: Performance of Templates: time 0.04742/1.872, allocations: 57.31 MB / 1.285 GB, free: 27.2 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.433845228049904]