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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 100.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3212/0.3212, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 55.91 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3511, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01525/0.3664, allocations: 14.62 MB / 0.5207 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02658/0.393, allocations: 28.31 MB / 0.5483 GB, free: 8.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.3933, allocations: 4 kB / 0.5483 GB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.3938, allocations: 80.94 kB / 0.5484 GB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02224/0.4161, allocations: 6.848 MB / 0.5551 GB, free: 5.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.417, allocations: 321.2 kB / 0.5554 GB, free: 5.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.4213, allocations: 2.034 MB / 0.5574 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.4213, allocations: 16.62 kB / 0.5574 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.4218, allocations: 262.3 kB / 0.5576 GB, free: 4.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00678/0.4286, allocations: 3.263 MB / 0.5608 GB, free: 2.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.4287, allocations: 7.656 kB / 0.5608 GB, free: 2.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02316/0.4519, allocations: 11.49 MB / 0.5721 GB, free: 12.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.4521, allocations: 55.73 kB / 0.5721 GB, free: 12.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.4524, allocations: 139.3 kB / 0.5722 GB, free: 12.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01962/0.472, allocations: 6.772 MB / 0.5789 GB, free: 5.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4721, allocations: 0 / 0.5789 GB, free: 5.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4721, allocations: 0 / 0.5789 GB, free: 5.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.4721, allocations: 0 / 0.5789 GB, free: 5.777 MB / 394.7 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.005553/0.4776, allocations: 1.619 MB / 0.5804 GB, free: 4.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4777, allocations: 8.031 kB / 0.5805 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.4792, allocations: 188.5 kB / 0.5806 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4796, allocations: 271.9 kB / 0.5809 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4796, allocations: 21.03 kB / 0.5809 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.4797, allocations: 36.12 kB / 0.5809 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.4817, allocations: 0.7525 MB / 0.5817 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4817, allocations: 7.938 kB / 0.5817 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.4818, allocations: 16 kB / 0.5817 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.4818, allocations: 8 kB / 0.5817 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.4838, allocations: 0.8176 MB / 0.5825 GB, free: 1.906 MB / 394.7 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.003315/0.4871, allocations: 2.714 MB / 0.5852 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4883, allocations: 351.5 kB / 0.5855 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4884, allocations: 73.36 kB / 0.5856 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5777/1.066, allocations: 141 MB / 0.7233 GB, free: 138 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/1.067, allocations: 447.1 kB / 0.7237 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.816e-06/1.067, allocations: 1.344 kB / 0.7237 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003947/1.071, allocations: 1.123 MB / 0.7248 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.072, allocations: 385.4 kB / 0.7252 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/1.072, allocations: 180 kB / 0.7253 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.072, allocations: 31.8 kB / 0.7254 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.072, allocations: 182.2 kB / 0.7255 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/1.072, allocations: 112.7 kB / 0.7256 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/1.072, allocations: 123.7 kB / 0.7258 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/1.072, allocations: 335.5 kB / 0.7261 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.073, allocations: 77.69 kB / 0.7262 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.073, allocations: 345 kB / 0.7265 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/1.074, allocations: 485.5 kB / 0.7269 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.074, allocations: 6.906 kB / 0.7269 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009841/1.075, allocations: 471.4 kB / 0.7274 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.075, allocations: 12.88 kB / 0.7274 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.075, allocations: 9.938 kB / 0.7274 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.075, allocations: 13.94 kB / 0.7274 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.076, allocations: 208.1 kB / 0.7276 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000446/1.077, allocations: 1.191 MB / 0.7288 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/1.077, allocations: 27.59 kB / 0.7288 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/1.077, allocations: 41.86 kB / 0.7289 GB, free: 133.8 MB / 0.4948 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.0002075/1.077, allocations: 160.7 kB / 0.729 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.077, allocations: 26.19 kB / 0.729 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/1.081, allocations: 2.844 MB / 0.7318 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.081, allocations: 25.38 kB / 0.7318 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.081, allocations: 3.375 kB / 0.7318 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.081, allocations: 12.11 kB / 0.7319 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/1.082, allocations: 0.9643 MB / 0.7328 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.082, allocations: 3.438 kB / 0.7328 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.083, allocations: 102.7 kB / 0.7329 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/1.083, allocations: 166.6 kB / 0.7331 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/1.083, allocations: 13.17 kB / 0.7331 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003115/1.083, allocations: 0.6474 MB / 0.7337 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.083, allocations: 6.375 kB / 0.7337 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/1.085, allocations: 2.075 MB / 0.7357 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/1.085, allocations: 132.8 kB / 0.7359 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.086, allocations: 103.2 kB / 0.736 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.086, allocations: 16.11 kB / 0.736 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/1.086, allocations: 29.34 kB / 0.736 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/1.086, allocations: 20.5 kB / 0.736 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005101/1.087, allocations: 471.2 kB / 0.7365 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.087, allocations: 3.938 kB / 0.7365 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004267/1.091, allocations: 1.646 MB / 0.7381 GB, free: 128.3 MB / 0.4948 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.007075/1.098, allocations: 1.864 MB / 0.7399 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.1, allocations: 0.5368 MB / 0.7404 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.1, allocations: 0 / 0.7404 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/1.1, allocations: 370.3 kB / 0.7408 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/1.101, allocations: 123.6 kB / 0.7409 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8335/1.934, allocations: 348.6 MB / 1.081 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/1.935, allocations: 1.004 MB / 1.082 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000821/1.936, allocations: 0.5064 MB / 1.083 GB, free: 162 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.936, allocations: 63.42 kB / 1.083 GB, free: 162 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.936, allocations: 0 / 1.083 GB, free: 162 MB / 0.5105 GB Notification: Performance of Templates: time 0.06549/2.001, allocations: 58.66 MB / 1.14 GB, free: 121.5 MB / 0.5105 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches