Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008697/0.0008696, allocations: 91.83 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3177/0.3177, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2914, allocations: 63.11 MB / 0.5214 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01144/0.3029, allocations: 16.75 MB / 0.5377 GB, free: 25.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03248/0.3354, allocations: 39.77 MB / 0.5766 GB, free: 7.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3358, allocations: 1.406 kB / 0.5766 GB, free: 7.043 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3361, allocations: 83.78 kB / 0.5767 GB, free: 6.977 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02266/0.3588, allocations: 6.837 MB / 0.5833 GB, free: 1.992 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3599, allocations: 323.4 kB / 0.5836 GB, free: 1.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.3644, allocations: 2.03 MB / 0.5856 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.3645, allocations: 16.25 kB / 0.5856 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.3651, allocations: 268.7 kB / 0.5859 GB, free: 392 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007316/0.3724, allocations: 3.267 MB / 0.5891 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.3725, allocations: 8 kB / 0.5891 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02233/0.3949, allocations: 11.09 MB / 0.5999 GB, free: 2.629 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.395, allocations: 59.69 kB / 0.6 GB, free: 2.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3953, allocations: 165 kB / 0.6001 GB, free: 2.402 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01889/0.4142, allocations: 6.752 MB / 0.6067 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4143, allocations: 0 / 0.6067 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4143, allocations: 0 / 0.6067 GB, free: 11.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4143, allocations: 0 / 0.6067 GB, free: 11.64 MB / 426.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.004453/0.4187, allocations: 1.556 MB / 0.6082 GB, free: 10.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4188, allocations: 8.031 kB / 0.6083 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.4202, allocations: 188.5 kB / 0.6084 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.4206, allocations: 271.9 kB / 0.6087 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4206, allocations: 21.03 kB / 0.6087 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.4207, allocations: 32.12 kB / 0.6087 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.4226, allocations: 0.7603 MB / 0.6095 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4226, allocations: 8 kB / 0.6095 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.4227, allocations: 12 kB / 0.6095 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.4227, allocations: 8 kB / 0.6095 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4246, allocations: 0.8098 MB / 0.6103 GB, free: 7.836 MB / 426.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.003134/0.4278, allocations: 2.707 MB / 0.6129 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.4288, allocations: 350.3 kB / 0.6133 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.429, allocations: 72.83 kB / 0.6134 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.535/0.964, allocations: 147.4 MB / 0.7573 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.9652, allocations: 449 kB / 0.7577 GB, free: 71.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.9652, allocations: 0 / 0.7577 GB, free: 71.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.003255/0.9684, allocations: 1.119 MB / 0.7588 GB, free: 70.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9686, allocations: 375.6 kB / 0.7591 GB, free: 69.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.9687, allocations: 197.9 kB / 0.7593 GB, free: 69.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9687, allocations: 29.7 kB / 0.7594 GB, free: 69.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.9688, allocations: 187.5 kB / 0.7595 GB, free: 69.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.9689, allocations: 113.8 kB / 0.7596 GB, free: 69.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.9689, allocations: 12 kB / 0.7597 GB, free: 69.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.969, allocations: 330.8 kB / 0.76 GB, free: 68.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.9691, allocations: 77.06 kB / 0.76 GB, free: 68.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.9693, allocations: 341.6 kB / 0.7604 GB, free: 68.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.9698, allocations: 475.5 kB / 0.7608 GB, free: 67.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.9698, allocations: 4 kB / 0.7608 GB, free: 67.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006612/0.9705, allocations: 468.1 kB / 0.7613 GB, free: 67.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.9705, allocations: 12 kB / 0.7613 GB, free: 67.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9705, allocations: 8 kB / 0.7613 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.9706, allocations: 12.81 kB / 0.7613 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.9719, allocations: 219.6 kB / 0.7615 GB, free: 66.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000417/0.9724, allocations: 1.188 MB / 0.7627 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.9727, allocations: 19.61 kB / 0.7627 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.9727, allocations: 40.17 kB / 0.7627 GB, free: 65.7 MB / 490.7 MB 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.0001786/0.9729, allocations: 169.5 kB / 0.7629 GB, free: 65.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.973, allocations: 31.72 kB / 0.7629 GB, free: 65.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.9753, allocations: 2.825 MB / 0.7657 GB, free: 62.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.9753, allocations: 23.97 kB / 0.7657 GB, free: 62.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.9753, allocations: 7.938 kB / 0.7657 GB, free: 62.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.9753, allocations: 4 kB / 0.7657 GB, free: 62.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.9761, allocations: 0.9652 MB / 0.7667 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.9761, allocations: 4 kB / 0.7667 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.9766, allocations: 100.3 kB / 0.7668 GB, free: 61.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.9769, allocations: 170.7 kB / 0.7669 GB, free: 61.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.9769, allocations: 19.92 kB / 0.7669 GB, free: 61.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002717/0.9772, allocations: 0.6381 MB / 0.7676 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.9772, allocations: 4.875 kB / 0.7676 GB, free: 60.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.978, allocations: 0.9715 MB / 0.7685 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.9782, allocations: 358.8 kB / 0.7689 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.9783, allocations: 8 kB / 0.7689 GB, free: 59.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.9786, allocations: 19.92 kB / 0.7689 GB, free: 59.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.9787, allocations: 36.98 kB / 0.7689 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.9787, allocations: 16 kB / 0.7689 GB, free: 59.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004125/0.9791, allocations: 467 kB / 0.7694 GB, free: 58.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9791, allocations: 0 / 0.7694 GB, free: 58.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004384/0.9835, allocations: 1.617 MB / 0.771 GB, free: 57.27 MB / 490.7 MB 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.007005/0.9906, allocations: 1.879 MB / 0.7728 GB, free: 55.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.9921, allocations: 0.5286 MB / 0.7733 GB, free: 55.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9921, allocations: 4.062 kB / 0.7733 GB, free: 55.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.9925, allocations: 358.2 kB / 0.7737 GB, free: 54.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.9935, allocations: 135.9 kB / 0.7738 GB, free: 54.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8037/1.797, allocations: 348.4 MB / 1.114 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/1.798, allocations: 0.9859 MB / 1.115 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007037/1.798, allocations: 0.5061 MB / 1.116 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.798, allocations: 59.39 kB / 1.116 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/1.798, allocations: 0 / 1.116 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05469/1.853, allocations: 58.41 MB / 1.173 GB, free: 94.35 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches