Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108.2 kB / 17.04 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 196 kB / 17.98 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.288/0.288, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 66.52 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1175, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01652/0.134, allocations: 13.81 MB / 455.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0311/0.1652, allocations: 26.59 MB / 482.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.1655, allocations: 4 kB / 482.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1661, allocations: 91.39 kB / 482.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0292/0.1953, allocations: 8.518 MB / 491 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1965, allocations: 342.9 kB / 491.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004706/0.2012, allocations: 2.006 MB / 493.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.929e-05/0.2013, allocations: 24.41 kB / 493.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.2017, allocations: 262.9 kB / 493.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00706/0.2088, allocations: 3.267 MB / 496.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.2089, allocations: 11.94 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02088/0.2298, allocations: 10.79 MB / 0.4958 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2299, allocations: 47.81 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.2302, allocations: 139.3 kB / 0.496 GB, free: 4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.2468, allocations: 6.301 MB / 0.5021 GB, free: 13.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2469, allocations: 4 kB / 0.5021 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2469, allocations: 0 / 0.5021 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.2469, allocations: 0 / 0.5021 GB, free: 13.68 MB / 398.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.004886/0.2518, allocations: 1.556 MB / 0.5036 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2518, allocations: 11.89 kB / 0.5037 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2536, allocations: 224.4 kB / 0.5039 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.254, allocations: 271.9 kB / 0.5041 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.2541, allocations: 28.97 kB / 0.5042 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.2541, allocations: 32.12 kB / 0.5042 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.2565, allocations: 0.8172 MB / 0.505 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2565, allocations: 8 kB / 0.505 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.2566, allocations: 16 kB / 0.505 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2566, allocations: 8 kB / 0.505 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.2591, allocations: 0.9269 MB / 0.5059 GB, free: 9.66 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.003542/0.2627, allocations: 2.57 MB / 0.5084 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.2641, allocations: 386.2 kB / 0.5088 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2643, allocations: 76.83 kB / 0.5089 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9801/1.244, allocations: 227.4 MB / 0.7309 GB, free: 177.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/1.246, allocations: 472.8 kB / 0.7314 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 4.528e-06/1.246, allocations: 0 / 0.7314 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003215/1.249, allocations: 0.7887 MB / 0.7321 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.249, allocations: 373.1 kB / 0.7325 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.25, allocations: 183.2 kB / 0.7327 GB, free: 176.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/1.25, allocations: 37.73 kB / 0.7327 GB, free: 176.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/1.25, allocations: 187.5 kB / 0.7329 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/1.25, allocations: 117.8 kB / 0.733 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.25, allocations: 125.9 kB / 0.7331 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/1.25, allocations: 326.6 kB / 0.7334 GB, free: 176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.25, allocations: 84.67 kB / 0.7335 GB, free: 176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/1.251, allocations: 343.5 kB / 0.7338 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/1.252, allocations: 476 kB / 0.7343 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.252, allocations: 4 kB / 0.7343 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009713/1.253, allocations: 470.7 kB / 0.7347 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.253, allocations: 8.844 kB / 0.7347 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.253, allocations: 7.906 kB / 0.7347 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.532e-05/1.253, allocations: 25.17 kB / 0.7348 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/1.253, allocations: 135.8 kB / 0.7349 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/1.253, allocations: 19.42 kB / 0.7349 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/1.254, allocations: 55.55 kB / 0.735 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/1.254, allocations: 50.38 kB / 0.735 GB, free: 175 MB / 0.4981 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.0001947/1.254, allocations: 163.6 kB / 0.7352 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.254, allocations: 23.19 kB / 0.7352 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/1.257, allocations: 2.589 MB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/1.257, allocations: 21.78 kB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.257, allocations: 7.891 kB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.257, allocations: 3.969 kB / 0.7378 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/1.258, allocations: 0.9331 MB / 0.7387 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.258, allocations: 7.656 kB / 0.7387 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/1.258, allocations: 72.12 kB / 0.7387 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.258, allocations: 8.156 kB / 0.7387 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/1.258, allocations: 15.95 kB / 0.7388 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.258, allocations: 7.906 kB / 0.7388 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.258, allocations: 7.844 kB / 0.7388 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/1.259, allocations: 0.6947 MB / 0.7395 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/1.259, allocations: 128.2 kB / 0.7396 GB, free: 172.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.259, allocations: 102.1 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/1.259, allocations: 19.8 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/1.259, allocations: 31.59 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/1.259, allocations: 19.73 kB / 0.7397 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006488/1.26, allocations: 0.5037 MB / 0.7402 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.26, allocations: 4 kB / 0.7402 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004978/1.265, allocations: 1.501 MB / 0.7417 GB, free: 172.2 MB / 0.4981 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.00661/1.272, allocations: 1.716 MB / 0.7434 GB, free: 171 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008018/1.273, allocations: 417.3 kB / 0.7438 GB, free: 170.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.273, allocations: 4.312 kB / 0.7438 GB, free: 170.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/1.273, allocations: 285.7 kB / 0.7441 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/1.274, allocations: 133.5 kB / 0.7442 GB, free: 170.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.3/2.573, allocations: 0.5999 GB / 1.344 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/2.574, allocations: 0.9856 MB / 1.345 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006339/2.574, allocations: 0.5121 MB / 1.346 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/2.574, allocations: 59.41 kB / 1.346 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/2.574, allocations: 0 / 1.346 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.0588/2.633, allocations: 55.58 MB / 1.4 GB, free: 56.68 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches