Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 192 kB / 16.78 MB, free: 4.895 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007816/0.0007815, allocations: 99.86 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.32/0.32, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.7996, allocations: 302 MB / 0.8114 GB, free: 16.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.8, allocations: 69.73 kB / 0.8115 GB, free: 16.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04258/0.8425, allocations: 20.76 MB / 0.8318 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8426, allocations: 3.844 kB / 0.8318 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.8426, allocations: 11.94 kB / 0.8318 GB, free: 15.38 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009898/0.8436, allocations: 0.56 MB / 0.8323 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8437, allocations: 12.03 kB / 0.8324 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.8438, allocations: 28.66 kB / 0.8324 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.8441, allocations: 219.4 kB / 0.8326 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.8442, allocations: 123.7 kB / 0.8327 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.8443, allocations: 31.05 kB / 0.8327 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.8447, allocations: 323.4 kB / 0.833 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.8448, allocations: 3.938 kB / 0.833 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.8448, allocations: 10.94 kB / 0.8331 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.8448, allocations: 15.98 kB / 0.8331 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.8456, allocations: 0.7333 MB / 0.8338 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.8468, allocations: 1.121 MB / 0.8349 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.8471, allocations: 151.6 kB / 0.835 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.8472, allocations: 74.02 kB / 0.8351 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/0.8496, allocations: 2.662 MB / 0.8377 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.8496, allocations: 38.56 kB / 0.8377 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.215e-06/0.8496, allocations: 0 / 0.8377 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000716/0.8504, allocations: 224.1 kB / 0.8379 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.8504, allocations: 51.41 kB / 0.838 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.8506, allocations: 219.4 kB / 0.8382 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.8507, allocations: 37.38 kB / 0.8382 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.8508, allocations: 208.7 kB / 0.8384 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.8508, allocations: 54.34 kB / 0.8385 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.8508, allocations: 15.38 kB / 0.8385 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.851, allocations: 326.1 kB / 0.8388 GB, free: 8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.8511, allocations: 51.33 kB / 0.8389 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.8514, allocations: 313.2 kB / 0.8392 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.8518, allocations: 404.7 kB / 0.8396 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8518, allocations: 7.938 kB / 0.8396 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005239/0.8523, allocations: 368 kB / 0.8399 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.8524, allocations: 8 kB / 0.8399 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.8524, allocations: 8 kB / 0.8399 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.8524, allocations: 12 kB / 0.8399 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.8528, allocations: 115 kB / 0.84 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.8528, allocations: 19.92 kB / 0.8401 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.8531, allocations: 20.66 kB / 0.8401 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.8531, allocations: 31.8 kB / 0.8401 GB, free: 6.562 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: 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 0.0001402/0.8533, allocations: 144.7 kB / 0.8403 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.8533, allocations: 19.81 kB / 0.8403 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.8536, allocations: 157.1 kB / 0.8404 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.8537, allocations: 0 / 0.8404 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8537, allocations: 4 kB / 0.8404 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8537, allocations: 3.938 kB / 0.8404 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.8543, allocations: 436.2 kB / 0.8408 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8543, allocations: 4.031 kB / 0.8409 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.8545, allocations: 31.97 kB / 0.8409 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8545, allocations: 0 / 0.8409 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.8545, allocations: 7.938 kB / 0.8409 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8545, allocations: 0 / 0.8409 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8545, allocations: 0 / 0.8409 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.8547, allocations: 224.5 kB / 0.8411 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.8549, allocations: 116.5 kB / 0.8412 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.8549, allocations: 3.938 kB / 0.8412 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.8551, allocations: 11.67 kB / 0.8412 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.8551, allocations: 11.92 kB / 0.8412 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.8551, allocations: 11.62 kB / 0.8413 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001313/0.8553, allocations: 146.8 kB / 0.8414 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8553, allocations: 3.938 kB / 0.8414 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005819/0.8559, allocations: 104.2 kB / 0.8415 GB, free: 5.184 MB / 0.4948 GB 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.0003292/0.8562, allocations: 178.7 kB / 0.8417 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.8565, allocations: 182.3 kB / 0.8418 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8565, allocations: 0 / 0.8418 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.8566, allocations: 39.23 kB / 0.8419 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.8571, allocations: 52.7 kB / 0.8419 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8672, allocations: 4.97 MB / 0.8468 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8675, allocations: 0.7287 MB / 0.8475 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.8677, allocations: 34.55 kB / 0.8475 GB, free: 80 kB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.8677, allocations: 0 / 0.8475 GB, free: 80 kB / 0.4948 GB Notification: Performance of Templates: time 0.006292/0.874, allocations: 3.556 MB / 0.851 GB, free: 12.53 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches