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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009052/0.0009051, allocations: 90.28 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2573/0.2573, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.287, allocations: 2.751 GB / 3.217 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/7.287, allocations: 85.14 kB / 3.217 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8045/8.092, allocations: 212.4 MB / 3.424 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/8.092, allocations: 4 kB / 3.424 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.501e-05/8.092, allocations: 3.906 kB / 3.424 GB, free: 93.71 MB / 0.4948 GB 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.01021/8.102, allocations: 1.745 MB / 3.426 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/8.102, allocations: 15.69 kB / 3.426 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/8.104, allocations: 224.3 kB / 3.426 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/8.105, allocations: 279.2 kB / 3.427 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/8.105, allocations: 16.25 kB / 3.427 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/8.105, allocations: 19.38 kB / 3.427 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006749/8.105, allocations: 0.5169 MB / 3.427 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/8.106, allocations: 387.8 kB / 3.428 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/8.106, allocations: 1.312 kB / 3.428 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/8.106, allocations: 7.547 kB / 3.428 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/8.106, allocations: 13.53 kB / 3.428 GB, free: 92.35 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.8984/9.005, allocations: 216.7 MB / 3.639 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/9.005, allocations: 41.11 kB / 3.639 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.222e-05/9.005, allocations: 19.98 kB / 3.639 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1227/9.128, allocations: 45.87 MB / 3.684 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/9.128, allocations: 111.2 kB / 3.684 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/9.128, allocations: 0 / 3.684 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.001948/9.13, allocations: 377 kB / 3.685 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/9.13, allocations: 138.5 kB / 3.685 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/9.13, allocations: 233.4 kB / 3.685 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/9.13, allocations: 25.7 kB / 3.685 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/9.131, allocations: 257 kB / 3.685 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/9.131, allocations: 40.92 kB / 3.685 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/9.131, allocations: 0 / 3.685 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001023/9.131, allocations: 329.1 kB / 3.686 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/9.131, allocations: 70.14 kB / 3.686 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/9.131, allocations: 313.9 kB / 3.686 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/9.132, allocations: 150.4 kB / 3.686 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/9.132, allocations: 4 kB / 3.686 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001375/9.133, allocations: 422.4 kB / 3.686 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/9.133, allocations: 8 kB / 3.686 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/9.134, allocations: 8.875 kB / 3.686 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/9.134, allocations: 12 kB / 3.686 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/9.134, allocations: 142 kB / 3.687 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/9.134, allocations: 17.56 kB / 3.687 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/9.135, allocations: 61.23 kB / 3.687 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.337e-05/9.135, allocations: 40.7 kB / 3.687 GB, free: 29.16 MB / 0.5105 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,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/9.135, allocations: 133.9 kB / 3.687 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/9.135, allocations: 19.81 kB / 3.687 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/9.136, allocations: 287.2 kB / 3.687 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/9.136, allocations: 4 kB / 3.687 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/9.136, allocations: 0 / 3.687 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/9.136, allocations: 1.312 kB / 3.687 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/9.136, allocations: 0.6087 MB / 3.688 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/9.136, allocations: 4 kB / 3.688 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/9.136, allocations: 19.78 kB / 3.688 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/9.137, allocations: 4 kB / 3.688 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/9.137, allocations: 4 kB / 3.688 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/9.137, allocations: 0 / 3.688 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/9.137, allocations: 4 kB / 3.688 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/9.137, allocations: 334.1 kB / 3.688 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/9.137, allocations: 149.3 kB / 3.688 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/9.137, allocations: 4 kB / 3.688 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/9.137, allocations: 11.75 kB / 3.688 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/9.137, allocations: 20.42 kB / 3.688 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/9.138, allocations: 11.61 kB / 3.688 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003467/9.138, allocations: 257.9 kB / 3.689 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/9.138, allocations: 0 / 3.689 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009208/9.147, allocations: 1.482 MB / 3.69 GB, free: 26.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.014/9.161, allocations: 1.905 MB / 3.692 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005544/9.162, allocations: 184.1 kB / 3.692 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/9.162, allocations: 0 / 3.692 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/9.162, allocations: 37.91 kB / 3.692 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/9.162, allocations: 30.42 kB / 3.692 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/9.163, allocations: 332.5 kB / 3.692 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/9.163, allocations: 0.7865 MB / 3.693 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001352/9.165, allocations: 1.027 MB / 3.694 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/9.165, allocations: 40.58 kB / 3.694 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/9.165, allocations: 0 / 3.694 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.05098/9.216, allocations: 33.31 MB / 3.727 GB, free: 8.66 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches