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.00267/0.00267, 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.002984/0.002984, 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.625/1.625, allocations: 177 MB / 204.5 MB, free: 5.605 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.4402/0.4402, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.362e-05, allocations: 2.312 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02249/0.02252, allocations: 13.92 MB / 391.2 MB, free: 4.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04146/0.06399, allocations: 26.13 MB / 417.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.06433, allocations: 0 / 417.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.06483, allocations: 91.31 kB / 417.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03045/0.09528, allocations: 8.616 MB / 426 MB, free: 1.898 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.09644, allocations: 346.7 kB / 426.3 MB, free: 1.559 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005525/0.102, allocations: 2.027 MB / 428.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.1021, allocations: 16.59 kB / 428.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.1028, allocations: 326.8 kB / 428.7 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008445/0.1112, allocations: 3.254 MB / 432 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.1113, allocations: 16 kB / 432 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02608/0.1374, allocations: 10.35 MB / 442.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1375, allocations: 47.77 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.1378, allocations: 111.7 kB / 442.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2816/0.4194, allocations: 8.023 MB / 450.5 MB, free: 61.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4194, allocations: 0 / 450.5 MB, free: 61.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4194, allocations: 0 / 450.5 MB, free: 61.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4194, allocations: 1.406 kB / 450.5 MB, free: 61.65 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.006172/0.4256, allocations: 1.622 MB / 452.1 MB, free: 60.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4256, allocations: 8.812 kB / 452.1 MB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.4273, allocations: 346.8 kB / 452.5 MB, free: 60.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4276, allocations: 218.5 kB / 452.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4277, allocations: 25.84 kB / 452.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.4277, allocations: 30.19 kB / 452.7 MB, free: 60.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.4298, allocations: 0.9229 MB / 453.7 MB, free: 60.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4299, allocations: 4.094 kB / 453.7 MB, free: 60.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.4299, allocations: 17.5 kB / 453.7 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4299, allocations: 9.062 kB / 453.7 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.432, allocations: 0.9326 MB / 454.6 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.435, allocations: 2.521 MB / 457.2 MB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4363, allocations: 379.3 kB / 457.5 MB, free: 58.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.4364, allocations: 76.81 kB / 457.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8693/1.306, allocations: 161.8 MB / 0.6049 GB, free: 168.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/1.307, allocations: 0.5027 MB / 0.6054 GB, free: 168.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.266e-06/1.307, allocations: 0 / 0.6054 GB, free: 168.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.00313/1.31, allocations: 0.8298 MB / 0.6062 GB, free: 168.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/1.31, allocations: 374.1 kB / 0.6066 GB, free: 167.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/1.311, allocations: 275.3 kB / 0.6068 GB, free: 167.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/1.311, allocations: 29.73 kB / 0.6068 GB, free: 167.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/1.311, allocations: 239 kB / 0.6071 GB, free: 167.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/1.311, allocations: 116.6 kB / 0.6072 GB, free: 167.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.311, allocations: 135.8 kB / 0.6073 GB, free: 167.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/1.311, allocations: 0.5065 MB / 0.6078 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.311, allocations: 79.22 kB / 0.6079 GB, free: 166.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/1.312, allocations: 463.9 kB / 0.6083 GB, free: 166.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/1.312, allocations: 0.5851 MB / 0.6089 GB, free: 165.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.312, allocations: 2.938 kB / 0.6089 GB, free: 165.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009403/1.313, allocations: 497.5 kB / 0.6094 GB, free: 165.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.313, allocations: 12.47 kB / 0.6094 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.313, allocations: 8.688 kB / 0.6094 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/1.313, allocations: 13.19 kB / 0.6094 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.314, allocations: 137.6 kB / 0.6095 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/1.314, allocations: 21.19 kB / 0.6096 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/1.314, allocations: 52.58 kB / 0.6096 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/1.314, allocations: 43.94 kB / 0.6097 GB, free: 165.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.000223/1.315, allocations: 209 kB / 0.6099 GB, free: 165.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.315, allocations: 40.67 kB / 0.6099 GB, free: 165.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/1.316, allocations: 1.491 MB / 0.6113 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.316, allocations: 19.5 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.316, allocations: 2.781 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.316, allocations: 6.125 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008425/1.317, allocations: 0.7456 MB / 0.6121 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.317, allocations: 2.344 kB / 0.6121 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/1.318, allocations: 75.72 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/1.318, allocations: 2.875 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/1.318, allocations: 14.28 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.318, allocations: 4.5 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.318, allocations: 12.48 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/1.319, allocations: 0.6666 MB / 0.6129 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/1.319, allocations: 51.5 kB / 0.6129 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/1.319, allocations: 109.4 kB / 0.613 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/1.319, allocations: 14.7 kB / 0.613 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.319, allocations: 37.62 kB / 0.6131 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/1.319, allocations: 18.84 kB / 0.6131 GB, free: 163.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006249/1.32, allocations: 0.5746 MB / 0.6136 GB, free: 163.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.32, allocations: 0 / 0.6136 GB, free: 163.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00487/1.325, allocations: 1.528 MB / 0.6151 GB, free: 163.5 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.008939/1.334, allocations: 1.965 MB / 0.6171 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008748/1.335, allocations: 366 kB / 0.6174 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.335, allocations: 1.75 kB / 0.6174 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.335, allocations: 196.7 kB / 0.6176 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.336, allocations: 239.2 kB / 0.6178 GB, free: 162.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.207/2.543, allocations: 0.6026 GB / 1.22 GB, free: 141.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/2.543, allocations: 401 kB / 1.221 GB, free: 141.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006895/2.544, allocations: 0.5253 MB / 1.221 GB, free: 140.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/2.544, allocations: 60.47 kB / 1.221 GB, free: 140.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.714e-06/2.544, allocations: 0 / 1.221 GB, free: 140.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05872/2.603, allocations: 57.31 MB / 1.277 GB, free: 83.67 MB / 474.7 MB " [Timeout remaining time 657] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.589861893095076]