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.001912/0.001912, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002092/0.002092, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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.643/1.643, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 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.2557/0.2557, allocations: 46.94 MB / 360.8 MB, free: 3.891 MB / 286.1 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 0.002323/0.002323, allocations: 79.86 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4221, allocations: 66.09 MB / 0.5612 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01861/0.4408, allocations: 12.71 MB / 0.5736 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03363/0.4744, allocations: 23.37 MB / 0.5965 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.4747, allocations: 4 kB / 0.5965 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.4751, allocations: 83.44 kB / 0.5965 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02979/0.5049, allocations: 8.502 MB / 0.6049 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.506, allocations: 353.6 kB / 0.6052 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.511, allocations: 2.01 MB / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.5111, allocations: 16.53 kB / 0.6072 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.5119, allocations: 270.8 kB / 0.6074 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007597/0.5195, allocations: 3.27 MB / 0.6106 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.5196, allocations: 8 kB / 0.6106 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02359/0.5432, allocations: 10.33 MB / 0.6207 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.5433, allocations: 43.83 kB / 0.6208 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.5436, allocations: 127.4 kB / 0.6209 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.5625, allocations: 6.326 MB / 0.6271 GB, free: 268 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.5625, allocations: 8 kB / 0.6271 GB, free: 260 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5625, allocations: 0 / 0.6271 GB, free: 260 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.5625, allocations: 0 / 0.6271 GB, free: 260 kB / 462.1 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.00608/0.5686, allocations: 1.521 MB / 0.6285 GB, free: 14.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5687, allocations: 12.03 kB / 0.6286 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.5705, allocations: 220.5 kB / 0.6288 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.5711, allocations: 218.1 kB / 0.629 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.5711, allocations: 21.03 kB / 0.629 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.5712, allocations: 36.12 kB / 0.629 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.5739, allocations: 0.8753 MB / 0.6299 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.574, allocations: 0 / 0.6299 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.574, allocations: 15.94 kB / 0.6299 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.574, allocations: 12 kB / 0.6299 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.5767, allocations: 0.9273 MB / 0.6308 GB, free: 12.29 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.5803, allocations: 1.956 MB / 0.6327 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5818, allocations: 366.2 kB / 0.6331 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.5819, allocations: 76.75 kB / 0.6332 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.945/1.527, allocations: 161 MB / 0.7904 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/1.528, allocations: 466.8 kB / 0.7909 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/1.528, allocations: 0 / 0.7909 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00274/1.531, allocations: 0.7844 MB / 0.7916 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.531, allocations: 375.8 kB / 0.792 GB, free: 119 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.531, allocations: 196.8 kB / 0.7922 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.531, allocations: 33.77 kB / 0.7922 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/1.531, allocations: 191.1 kB / 0.7924 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.531, allocations: 128.7 kB / 0.7925 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.531, allocations: 126.1 kB / 0.7926 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/1.532, allocations: 326.8 kB / 0.793 GB, free: 118 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/1.532, allocations: 84.92 kB / 0.793 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/1.532, allocations: 340.1 kB / 0.7934 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/1.533, allocations: 478 kB / 0.7938 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.533, allocations: 4 kB / 0.7938 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007769/1.533, allocations: 468.8 kB / 0.7943 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.533, allocations: 8.906 kB / 0.7943 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.533, allocations: 8 kB / 0.7943 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/1.533, allocations: 16 kB / 0.7943 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/1.534, allocations: 143.8 kB / 0.7944 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.534, allocations: 22.97 kB / 0.7945 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.534, allocations: 48.95 kB / 0.7945 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/1.534, allocations: 47.97 kB / 0.7945 GB, free: 116.1 MB / 0.5606 GB 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.0001738/1.534, allocations: 162.4 kB / 0.7947 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/1.534, allocations: 27.86 kB / 0.7947 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.537, allocations: 2.838 MB / 0.7975 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.537, allocations: 16.36 kB / 0.7975 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.537, allocations: 15 kB / 0.7975 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.537, allocations: 7.984 kB / 0.7975 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/1.538, allocations: 0.8429 MB / 0.7984 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.538, allocations: 4 kB / 0.7984 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/1.538, allocations: 75.86 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.538, allocations: 8 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.538, allocations: 8 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.538, allocations: 4 kB / 0.7985 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.538, allocations: 4 kB / 0.7985 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/1.539, allocations: 0.7321 MB / 0.7992 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/1.539, allocations: 51.52 kB / 0.7992 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.539, allocations: 111 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.539, allocations: 12 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/1.539, allocations: 35.88 kB / 0.7994 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/1.539, allocations: 16 kB / 0.7994 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004753/1.54, allocations: 0.504 MB / 0.7999 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.54, allocations: 0 / 0.7999 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004317/1.544, allocations: 1.528 MB / 0.8014 GB, free: 109.1 MB / 0.5606 GB 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.005635/1.55, allocations: 1.758 MB / 0.8031 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007925/1.55, allocations: 412.2 kB / 0.8035 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.55, allocations: 0 / 0.8035 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/1.551, allocations: 233.5 kB / 0.8037 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/1.551, allocations: 127.1 kB / 0.8038 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.325/2.876, allocations: 0.6026 GB / 1.406 GB, free: 76.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/2.877, allocations: 396.3 kB / 1.407 GB, free: 76.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000652/2.877, allocations: 0.5271 MB / 1.407 GB, free: 75.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/2.877, allocations: 63.34 kB / 1.407 GB, free: 75.62 MB / 0.6387 GB Notification: Performance of SimCode: time 1.203e-06/2.877, allocations: 0 / 1.407 GB, free: 75.62 MB / 0.6387 GB Notification: Performance of Templates: time 0.05511/2.933, allocations: 56.86 MB / 1.463 GB, free: 18.88 MB / 0.6387 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] 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: 12.05811027996242]