Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 179 kB / 18.09 MB, free: 3.754 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.352/1.352, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007822/0.0007822, allocations: 94.5 kB / 293.3 MB, free: 10.79 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.356/0.356, allocations: 44.16 MB / 388.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.000518, allocations: 12 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3747, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5775/0.9523, allocations: 301.1 MB / 0.8048 GB, free: 28.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9526, allocations: 76.38 kB / 0.8049 GB, free: 28.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04357/0.9962, allocations: 20.63 MB / 0.825 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.9963, allocations: 0 / 0.825 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.9963, allocations: 4 kB / 0.825 GB, free: 11.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009055/0.9972, allocations: 0.5479 MB / 0.8255 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9972, allocations: 12.02 kB / 0.8256 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.9974, allocations: 28.66 kB / 0.8256 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.9977, allocations: 228.6 kB / 0.8258 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.475e-05/0.9978, allocations: 130.8 kB / 0.8259 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.9978, allocations: 19.25 kB / 0.8259 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.9983, allocations: 318.7 kB / 0.8263 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.9983, allocations: 7.875 kB / 0.8263 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.9983, allocations: 19.48 kB / 0.8263 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.9984, allocations: 4 kB / 0.8263 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.999, allocations: 0.732 MB / 0.827 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/1, allocations: 1.116 MB / 0.8281 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/1, allocations: 147.9 kB / 0.8282 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1, allocations: 79.7 kB / 0.8283 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/1.002, allocations: 2.659 MB / 0.8309 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/1.002, allocations: 38.5 kB / 0.8309 GB, free: 4.977 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/1.002, allocations: 0 / 0.8309 GB, free: 4.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005701/1.003, allocations: 222.8 kB / 0.8311 GB, free: 4.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.003, allocations: 55.34 kB / 0.8312 GB, free: 4.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/1.003, allocations: 222.8 kB / 0.8314 GB, free: 4.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.003, allocations: 29.7 kB / 0.8314 GB, free: 4.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/1.003, allocations: 210.6 kB / 0.8316 GB, free: 4.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.003, allocations: 58.78 kB / 0.8317 GB, free: 4.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.003, allocations: 7.375 kB / 0.8317 GB, free: 4.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/1.003, allocations: 333.3 kB / 0.832 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/1.003, allocations: 44.34 kB / 0.8321 GB, free: 3.883 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/1.003, allocations: 319.1 kB / 0.8324 GB, free: 3.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/1.004, allocations: 427.8 kB / 0.8328 GB, free: 2.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.004, allocations: 4 kB / 0.8328 GB, free: 2.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004452/1.004, allocations: 364.8 kB / 0.8331 GB, free: 2.652 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.004, allocations: 13.39 kB / 0.8331 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.004, allocations: 16.16 kB / 0.8332 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.004, allocations: 15.94 kB / 0.8332 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.005, allocations: 104.7 kB / 0.8333 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.005, allocations: 23.86 kB / 0.8333 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.005, allocations: 19.44 kB / 0.8333 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/1.005, allocations: 31.25 kB / 0.8333 GB, free: 2.449 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/1.005, allocations: 144.8 kB / 0.8335 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/1.005, allocations: 23.8 kB / 0.8335 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/1.005, allocations: 150.6 kB / 0.8336 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.005, allocations: 4 kB / 0.8337 GB, free: 2.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.005, allocations: 4 kB / 0.8337 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.005, allocations: 3.938 kB / 0.8337 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/1.006, allocations: 429.8 kB / 0.8341 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.006, allocations: 0 / 0.8341 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/1.006, allocations: 35.36 kB / 0.8341 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.006, allocations: 0 / 0.8341 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.006, allocations: 15.98 kB / 0.8341 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.006, allocations: 4.031 kB / 0.8341 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.006, allocations: 0 / 0.8341 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.006, allocations: 213.9 kB / 0.8343 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/1.006, allocations: 112 kB / 0.8344 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/1.006, allocations: 7.938 kB / 0.8344 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.006, allocations: 5.5 kB / 0.8344 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/1.006, allocations: 15.48 kB / 0.8345 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/1.006, allocations: 15.86 kB / 0.8345 GB, free: 1.293 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.879e-05/1.007, allocations: 144.2 kB / 0.8346 GB, free: 1.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.007, allocations: 0 / 0.8346 GB, free: 1.168 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004947/1.007, allocations: 106.2 kB / 0.8347 GB, free: 1.078 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003208/1.007, allocations: 186.1 kB / 0.8349 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/1.008, allocations: 172.5 kB / 0.8351 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.008, allocations: 4.375 kB / 0.8351 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/1.008, allocations: 38.98 kB / 0.8351 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/1.008, allocations: 44.22 kB / 0.8351 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.019, allocations: 4.917 MB / 0.8399 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/1.019, allocations: 0.7326 MB / 0.8407 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003817/1.019, allocations: 50.84 kB / 0.8407 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/1.02, allocations: 31.38 kB / 0.8407 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/1.02, allocations: 0 / 0.8407 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.00748/1.027, allocations: 3.533 MB / 0.8442 GB, free: 8.492 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches