Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 177.6 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007611/0.0007612, allocations: 93.41 kB / 271.9 MB, free: 8.254 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.3091/0.3091, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.116/6.244, allocations: 2.75 GB / 3.23 GB, free: 127 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.244, allocations: 82.52 kB / 3.23 GB, free: 127 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8123/7.056, allocations: 213.7 MB / 3.439 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.835e-06/7.056, allocations: 4 kB / 3.439 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.847e-05/7.056, allocations: 3.969 kB / 3.439 GB, free: 72.67 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.008917/7.065, allocations: 1.729 MB / 3.441 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/7.065, allocations: 12.5 kB / 3.441 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/7.067, allocations: 186.9 kB / 3.441 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/7.067, allocations: 286 kB / 3.441 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/7.068, allocations: 23.62 kB / 3.441 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/7.068, allocations: 28.78 kB / 3.441 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/7.07, allocations: 0.7451 MB / 3.442 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/7.07, allocations: 3.938 kB / 3.442 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/7.07, allocations: 16.47 kB / 3.442 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/7.07, allocations: 7.656 kB / 3.442 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/7.072, allocations: 0.8089 MB / 3.443 GB, free: 71.27 MB / 0.4948 GB 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.003522/7.075, allocations: 2.9 MB / 3.446 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/7.077, allocations: 343.4 kB / 3.446 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/7.077, allocations: 81.19 kB / 3.446 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6086/7.685, allocations: 139.8 MB / 3.583 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/7.687, allocations: 435.9 kB / 3.583 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.338e-06/7.687, allocations: 0 / 3.583 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003889/7.691, allocations: 1.101 MB / 3.584 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/7.691, allocations: 381 kB / 3.584 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/7.691, allocations: 184 kB / 3.585 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/7.691, allocations: 32.2 kB / 3.585 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/7.691, allocations: 184.1 kB / 3.585 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/7.691, allocations: 112.2 kB / 3.585 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/7.691, allocations: 8.625 kB / 3.585 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/7.691, allocations: 336.1 kB / 3.585 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/7.692, allocations: 79.53 kB / 3.585 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/7.692, allocations: 339.5 kB / 3.586 GB, free: 73.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/7.692, allocations: 479.1 kB / 3.586 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-06/7.692, allocations: 3.812 kB / 3.586 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007689/7.693, allocations: 464.6 kB / 3.587 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/7.693, allocations: 10.97 kB / 3.587 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/7.693, allocations: 9.281 kB / 3.587 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/7.693, allocations: 15.41 kB / 3.587 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/7.695, allocations: 199 kB / 3.587 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004074/7.695, allocations: 1.183 MB / 3.588 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/7.695, allocations: 28.56 kB / 3.588 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/7.696, allocations: 42.8 kB / 3.588 GB, free: 72.27 MB / 0.5105 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002177/7.696, allocations: 165.5 kB / 3.588 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/7.696, allocations: 28.14 kB / 3.588 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/7.699, allocations: 2.834 MB / 3.591 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/7.699, allocations: 23.09 kB / 3.591 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/7.699, allocations: 3.969 kB / 3.591 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/7.699, allocations: 6.375 kB / 3.591 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/7.7, allocations: 0.9674 MB / 3.592 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/7.7, allocations: 3.156 kB / 3.592 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/7.701, allocations: 97.77 kB / 3.592 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/7.701, allocations: 161.8 kB / 3.592 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/7.701, allocations: 18.33 kB / 3.592 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003359/7.702, allocations: 0.6438 MB / 3.593 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/7.702, allocations: 5.219 kB / 3.593 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/7.703, allocations: 0.9648 MB / 3.594 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/7.703, allocations: 353.1 kB / 3.594 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/7.703, allocations: 13.45 kB / 3.594 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/7.704, allocations: 15.44 kB / 3.594 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/7.704, allocations: 41.34 kB / 3.594 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/7.704, allocations: 18.19 kB / 3.594 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005337/7.704, allocations: 462.6 kB / 3.595 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/7.704, allocations: 0 / 3.595 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008146/7.713, allocations: 1.636 MB / 3.596 GB, free: 70.39 MB / 0.5105 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01376/7.726, allocations: 2.03 MB / 3.598 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001855/7.728, allocations: 0.524 MB / 3.599 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/7.728, allocations: 6.906 kB / 3.599 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/7.729, allocations: 364.1 kB / 3.599 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/7.73, allocations: 132.2 kB / 3.599 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.014/8.745, allocations: 364.4 MB / 3.955 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/8.745, allocations: 0.9825 MB / 3.956 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/8.745, allocations: 61.06 kB / 3.956 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/8.745, allocations: 3.969 kB / 3.956 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.05772/8.803, allocations: 36.14 MB / 3.991 GB, free: 85.29 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches