Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 109.3 kB / 18.39 MB, free: 4.762 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.001144/0.001144, allocations: 184.1 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01791/0.1238, allocations: 13.81 MB / 484.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02964/0.1535, allocations: 26.59 MB / 0.4991 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.1539, allocations: 4 kB / 0.4991 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1543, allocations: 99.39 kB / 0.4992 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2375/0.3919, allocations: 8.513 MB / 0.5075 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3931, allocations: 347.2 kB / 0.5079 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005168/0.3983, allocations: 2.001 MB / 0.5098 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.3984, allocations: 22.67 kB / 0.5098 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.3991, allocations: 264.1 kB / 0.5101 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008815/0.4079, allocations: 3.258 MB / 0.5133 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.408, allocations: 10.7 kB / 0.5133 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02532/0.4333, allocations: 11.62 MB / 0.5246 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4335, allocations: 47.69 kB / 0.5247 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.4339, allocations: 143.6 kB / 0.5248 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.45, allocations: 6.734 MB / 0.5314 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.45, allocations: 0 / 0.5314 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.45, allocations: 0 / 0.5314 GB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.45, allocations: 0 / 0.5314 GB, free: 9.168 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.006031/0.4561, allocations: 1.625 MB / 0.533 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4561, allocations: 6.812 kB / 0.533 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.4578, allocations: 187.7 kB / 0.5332 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4581, allocations: 269.9 kB / 0.5334 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4581, allocations: 19.56 kB / 0.5334 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.4581, allocations: 35.94 kB / 0.5335 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.4602, allocations: 0.7607 MB / 0.5342 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4602, allocations: 3.188 kB / 0.5342 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.4602, allocations: 17.41 kB / 0.5342 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4603, allocations: 7.656 kB / 0.5342 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4622, allocations: 0.8166 MB / 0.535 GB, free: 6.812 MB / 382.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.002758/0.465, allocations: 2.705 MB / 0.5377 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.4662, allocations: 345.7 kB / 0.538 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.4663, allocations: 77.56 kB / 0.5381 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3613/0.8276, allocations: 142.7 MB / 0.6775 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.8291, allocations: 456 kB / 0.6779 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.457e-06/0.8291, allocations: 0 / 0.6779 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.004068/0.8332, allocations: 1.122 MB / 0.679 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.8333, allocations: 370.8 kB / 0.6794 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.8335, allocations: 187.7 kB / 0.6795 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.8336, allocations: 30.08 kB / 0.6796 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.8337, allocations: 188.7 kB / 0.6797 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.8338, allocations: 118.5 kB / 0.6799 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.834, allocations: 126.1 kB / 0.68 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8341, allocations: 330.8 kB / 0.6803 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8343, allocations: 82.27 kB / 0.6804 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.8346, allocations: 349 kB / 0.6807 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.8352, allocations: 476.8 kB / 0.6812 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.8352, allocations: 4 kB / 0.6812 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008621/0.8361, allocations: 467.1 kB / 0.6816 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.8361, allocations: 11.94 kB / 0.6816 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.8361, allocations: 8 kB / 0.6816 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.8362, allocations: 22.22 kB / 0.6816 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.8378, allocations: 210.3 kB / 0.6818 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000548/0.8383, allocations: 1.19 MB / 0.683 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.8386, allocations: 23.94 kB / 0.683 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.8387, allocations: 41.17 kB / 0.6831 GB, free: 4.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.8389, allocations: 167 kB / 0.6832 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.839, allocations: 23.72 kB / 0.6833 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.8419, allocations: 2.825 MB / 0.686 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.8419, allocations: 19.97 kB / 0.686 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.8419, allocations: 4 kB / 0.686 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.8419, allocations: 7.984 kB / 0.686 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.843, allocations: 0.9713 MB / 0.687 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.843, allocations: 9.25 kB / 0.687 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.8435, allocations: 98.52 kB / 0.6871 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.8437, allocations: 157.3 kB / 0.6872 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.8438, allocations: 19.83 kB / 0.6873 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003982/0.8442, allocations: 0.6417 MB / 0.6879 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8442, allocations: 4.656 kB / 0.6879 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.8453, allocations: 0.9795 MB / 0.6888 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8455, allocations: 124.5 kB / 0.689 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.8456, allocations: 94.66 kB / 0.6891 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.8459, allocations: 23.61 kB / 0.6891 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.846, allocations: 39.28 kB / 0.6891 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.846, allocations: 17.08 kB / 0.6891 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000537/0.8466, allocations: 471 kB / 0.6896 GB, free: 14 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8466, allocations: 0 / 0.6896 GB, free: 14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004503/0.8511, allocations: 1.605 MB / 0.6911 GB, free: 12.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006854/0.858, allocations: 1.86 MB / 0.693 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.8595, allocations: 0.5423 MB / 0.6935 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8595, allocations: 0 / 0.6935 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.86, allocations: 366 kB / 0.6938 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.8607, allocations: 128.4 kB / 0.694 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8002/1.661, allocations: 347.7 MB / 1.034 GB, free: 91.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/1.661, allocations: 0.9859 MB / 1.035 GB, free: 90.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006724/1.662, allocations: 0.5015 MB / 1.035 GB, free: 90.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.662, allocations: 55.41 kB / 1.035 GB, free: 90.29 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.662, allocations: 0 / 1.035 GB, free: 90.29 MB / 0.545 GB Notification: Performance of Templates: time 0.2811/1.943, allocations: 58.47 MB / 1.092 GB, free: 212 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches