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.0009764/0.0009765, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 95.75 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1709/0.1709, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.094e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.532/6.657, allocations: 2.755 GB / 3.257 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/6.657, allocations: 80.36 kB / 3.257 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7689/7.426, allocations: 217.3 MB / 3.469 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/7.426, allocations: 0 / 3.469 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.355e-05/7.426, allocations: 3.469 kB / 3.469 GB, free: 103.3 MB / 0.5261 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.00695/7.433, allocations: 1.736 MB / 3.471 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/7.433, allocations: 11.34 kB / 3.471 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/7.434, allocations: 188.1 kB / 3.471 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/7.435, allocations: 280 kB / 3.472 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/7.435, allocations: 18.47 kB / 3.472 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/7.435, allocations: 31 kB / 3.472 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/7.437, allocations: 0.7991 MB / 3.472 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/7.437, allocations: 7.75 kB / 3.472 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/7.437, allocations: 13.88 kB / 3.472 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/7.437, allocations: 7.531 kB / 3.472 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/7.439, allocations: 0.8651 MB / 3.473 GB, free: 101.9 MB / 0.5261 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.003115/7.442, allocations: 2.905 MB / 3.476 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/7.443, allocations: 383.1 kB / 3.476 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/7.443, allocations: 72.91 kB / 3.476 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5845/8.027, allocations: 140.6 MB / 3.614 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/8.029, allocations: 488 kB / 3.614 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/8.029, allocations: 4 kB / 3.614 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.003387/8.032, allocations: 1.126 MB / 3.615 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/8.032, allocations: 382.8 kB / 3.616 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/8.032, allocations: 165.6 kB / 3.616 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/8.032, allocations: 32.77 kB / 3.616 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/8.032, allocations: 183.4 kB / 3.616 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/8.033, allocations: 116.7 kB / 3.616 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/8.033, allocations: 10.22 kB / 3.616 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.049e-05/8.033, allocations: 334.6 kB / 3.617 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/8.033, allocations: 68.91 kB / 3.617 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/8.033, allocations: 344.5 kB / 3.617 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/8.033, allocations: 126.9 kB / 3.617 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/8.033, allocations: 6.969 kB / 3.617 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006589/8.034, allocations: 462 kB / 3.617 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/8.034, allocations: 6.625 kB / 3.617 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/8.034, allocations: 14.64 kB / 3.617 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/8.034, allocations: 11.94 kB / 3.617 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/8.035, allocations: 200.3 kB / 3.618 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/8.036, allocations: 1.181 MB / 3.619 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/8.036, allocations: 30.84 kB / 3.619 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/8.036, allocations: 42.84 kB / 3.619 GB, free: 86.12 MB / 0.5261 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 () * 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.0001131/8.036, allocations: 150.1 kB / 3.619 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/8.036, allocations: 37.08 kB / 3.619 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/8.038, allocations: 1.873 MB / 3.621 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/8.038, allocations: 23.95 kB / 3.621 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/8.038, allocations: 4.938 kB / 3.621 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/8.038, allocations: 3.438 kB / 3.621 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/8.039, allocations: 0.8845 MB / 3.622 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/8.039, allocations: 1.156 kB / 3.622 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/8.039, allocations: 115.1 kB / 3.622 GB, free: 85.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/8.039, allocations: 226.4 kB / 3.622 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/8.039, allocations: 28.16 kB / 3.622 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002339/8.04, allocations: 0.6344 MB / 3.623 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/8.04, allocations: 7.625 kB / 3.623 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/8.041, allocations: 1.161 MB / 3.624 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/8.041, allocations: 272.4 kB / 3.624 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/8.041, allocations: 10.47 kB / 3.624 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/8.041, allocations: 27.05 kB / 3.624 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/8.041, allocations: 41.48 kB / 3.624 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/8.041, allocations: 25.84 kB / 3.624 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002858/8.042, allocations: 327.2 kB / 3.625 GB, free: 84.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/8.042, allocations: 4 kB / 3.625 GB, free: 84.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006643/8.048, allocations: 1.634 MB / 3.626 GB, free: 84.16 MB / 0.5261 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 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete 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.0115/8.06, allocations: 2.038 MB / 3.628 GB, free: 83.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001551/8.061, allocations: 0.5169 MB / 3.629 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/8.061, allocations: 0 / 3.629 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/8.062, allocations: 378.5 kB / 3.629 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/8.063, allocations: 117.3 kB / 3.629 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.15/9.213, allocations: 495.8 MB / 4.113 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/9.213, allocations: 0.9395 MB / 4.114 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001363/9.214, allocations: 1.194 MB / 4.115 GB, free: 65.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/9.214, allocations: 62.59 kB / 4.115 GB, free: 65.57 MB / 0.5417 GB Notification: Performance of SimCode: time 9.01e-07/9.214, allocations: 0 / 4.115 GB, free: 65.57 MB / 0.5417 GB Notification: Performance of Templates: time 0.05029/9.265, allocations: 40.47 MB / 4.155 GB, free: 26.89 MB / 0.5417 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/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