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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 78.94 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01669/0.15, allocations: 13.92 MB / 495.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.241/0.391, allocations: 26.58 MB / 0.5097 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.3913, allocations: 1.312 kB / 0.5097 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.3916, allocations: 90.19 kB / 0.5098 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02216/0.4138, allocations: 8.546 MB / 0.5182 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.4147, allocations: 348.7 kB / 0.5185 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004695/0.4194, allocations: 2.007 MB / 0.5205 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.4196, allocations: 19.53 kB / 0.5205 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.4203, allocations: 263.1 kB / 0.5207 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007561/0.4278, allocations: 3.268 MB / 0.5239 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.4279, allocations: 10.69 kB / 0.5239 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.022/0.4499, allocations: 10.84 MB / 0.5345 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.053e-05/0.45, allocations: 51.67 kB / 0.5346 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.4502, allocations: 141.9 kB / 0.5347 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.4622, allocations: 6.312 MB / 0.5409 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4622, allocations: 2.062 kB / 0.5409 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4622, allocations: 0 / 0.5409 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4623, allocations: 0 / 0.5409 GB, free: 1.809 MB / 382.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.00394/0.4662, allocations: 1.565 MB / 0.5424 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4662, allocations: 12.03 kB / 0.5424 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.4679, allocations: 216.4 kB / 0.5426 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4683, allocations: 270.7 kB / 0.5429 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.4683, allocations: 33.03 kB / 0.5429 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4684, allocations: 28.38 kB / 0.5429 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.4707, allocations: 0.8224 MB / 0.5437 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4707, allocations: 3.938 kB / 0.5437 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4708, allocations: 19.98 kB / 0.5438 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4708, allocations: 8 kB / 0.5438 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.4732, allocations: 0.9385 MB / 0.5447 GB, free: 14.08 MB / 398.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.00321/0.4764, allocations: 2.567 MB / 0.5472 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.4778, allocations: 389.6 kB / 0.5476 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4779, allocations: 72.83 kB / 0.5476 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8076/1.286, allocations: 241.2 MB / 0.7832 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.287, allocations: 476.1 kB / 0.7836 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/1.287, allocations: 0 / 0.7836 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002919/1.29, allocations: 0.7769 MB / 0.7844 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.29, allocations: 379.2 kB / 0.7848 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.29, allocations: 181.5 kB / 0.7849 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/1.29, allocations: 31.08 kB / 0.785 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.29, allocations: 195.9 kB / 0.7851 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/1.29, allocations: 113.1 kB / 0.7853 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.291, allocations: 125.2 kB / 0.7854 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/1.291, allocations: 337.4 kB / 0.7857 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.291, allocations: 83.33 kB / 0.7858 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/1.291, allocations: 347.5 kB / 0.7861 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/1.292, allocations: 476.8 kB / 0.7866 GB, free: 145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.292, allocations: 4 kB / 0.7866 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008633/1.293, allocations: 472.9 kB / 0.787 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.293, allocations: 10.5 kB / 0.787 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.293, allocations: 11.94 kB / 0.787 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/1.293, allocations: 16 kB / 0.7871 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/1.293, allocations: 132.9 kB / 0.7872 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.293, allocations: 22.45 kB / 0.7872 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/1.294, allocations: 59.31 kB / 0.7873 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/1.294, allocations: 45.97 kB / 0.7873 GB, free: 144.4 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.0001728/1.294, allocations: 165.1 kB / 0.7875 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/1.294, allocations: 23.81 kB / 0.7875 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.296, allocations: 2.584 MB / 0.79 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.296, allocations: 19.78 kB / 0.79 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.296, allocations: 4 kB / 0.79 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.296, allocations: 11.94 kB / 0.79 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/1.297, allocations: 0.9328 MB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.297, allocations: 4 kB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/1.297, allocations: 70.5 kB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.297, allocations: 8 kB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/1.297, allocations: 11.61 kB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/1.298, allocations: 7.281 kB / 0.791 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.298, allocations: 5.641 kB / 0.7911 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/1.298, allocations: 0.707 MB / 0.7917 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/1.298, allocations: 127.4 kB / 0.7919 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.299, allocations: 98.41 kB / 0.792 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/1.299, allocations: 19.36 kB / 0.792 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/1.299, allocations: 42.61 kB / 0.792 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/1.299, allocations: 12 kB / 0.792 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004808/1.299, allocations: 0.5013 MB / 0.7925 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.299, allocations: 4 kB / 0.7925 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004926/1.304, allocations: 1.51 MB / 0.794 GB, free: 139 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.006355/1.311, allocations: 1.732 MB / 0.7957 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008631/1.312, allocations: 417.7 kB / 0.7961 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.312, allocations: 0 / 0.7961 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/1.312, allocations: 287.1 kB / 0.7964 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/1.313, allocations: 133.8 kB / 0.7965 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.38/2.693, allocations: 0.6022 GB / 1.399 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/2.694, allocations: 0.9856 MB / 1.4 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006924/2.694, allocations: 0.5273 MB / 1.4 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/2.694, allocations: 55.41 kB / 1.4 GB, free: 143 MB / 0.5606 GB Notification: Performance of SimCode: time 3.326e-06/2.694, allocations: 0 / 1.4 GB, free: 143 MB / 0.5606 GB Notification: Performance of Templates: time 0.05804/2.753, allocations: 55.71 MB / 1.455 GB, free: 87.31 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches