Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008576/0.0008578, allocations: 103.8 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4153/0.4153, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4336, allocations: 62.95 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6724/1.106, allocations: 302 MB / 0.8134 GB, free: 16.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/1.107, allocations: 78.81 kB / 0.8134 GB, free: 16.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04633/1.153, allocations: 20.77 MB / 0.8337 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.52e-06/1.153, allocations: 7.875 kB / 0.8337 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.875e-05/1.153, allocations: 0 / 0.8337 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.001611/1.155, allocations: 0.5677 MB / 0.8343 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.155, allocations: 8.031 kB / 0.8343 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/1.155, allocations: 35.83 kB / 0.8343 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/1.155, allocations: 224.8 kB / 0.8346 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/1.156, allocations: 120.9 kB / 0.8347 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/1.156, allocations: 25.19 kB / 0.8347 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/1.156, allocations: 326.5 kB / 0.835 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.156, allocations: 3.938 kB / 0.835 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/1.157, allocations: 15.05 kB / 0.835 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/1.157, allocations: 8 kB / 0.835 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/1.157, allocations: 0.7359 MB / 0.8357 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/1.159, allocations: 1.119 MB / 0.8368 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/1.159, allocations: 143.9 kB / 0.837 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/1.16, allocations: 69.95 kB / 0.837 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00314/1.163, allocations: 2.666 MB / 0.8396 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.163, allocations: 37.75 kB / 0.8397 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/1.163, allocations: 0 / 0.8397 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0009204/1.164, allocations: 224.7 kB / 0.8399 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.164, allocations: 51.41 kB / 0.8399 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/1.164, allocations: 228 kB / 0.8402 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/1.164, allocations: 29.64 kB / 0.8402 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.164, allocations: 213.3 kB / 0.8404 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/1.164, allocations: 50.98 kB / 0.8404 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.164, allocations: 6.812 kB / 0.8405 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.165, allocations: 330 kB / 0.8408 GB, free: 8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/1.165, allocations: 51.09 kB / 0.8408 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/1.165, allocations: 318.1 kB / 0.8411 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/1.166, allocations: 413 kB / 0.8415 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.166, allocations: 0 / 0.8415 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000643/1.166, allocations: 366.2 kB / 0.8419 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.166, allocations: 10.97 kB / 0.8419 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.166, allocations: 12 kB / 0.8419 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/1.166, allocations: 12 kB / 0.8419 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/1.167, allocations: 107.4 kB / 0.842 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/1.167, allocations: 15.94 kB / 0.842 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/1.167, allocations: 26.8 kB / 0.842 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/1.167, allocations: 27.48 kB / 0.8421 GB, free: 6.566 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.000162/1.167, allocations: 148.6 kB / 0.8422 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/1.167, allocations: 19.62 kB / 0.8422 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/1.168, allocations: 155.2 kB / 0.8424 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.168, allocations: 11.94 kB / 0.8424 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.168, allocations: 0 / 0.8424 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.168, allocations: 7.922 kB / 0.8424 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/1.168, allocations: 430.2 kB / 0.8428 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.168, allocations: 3.984 kB / 0.8428 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/1.168, allocations: 31.48 kB / 0.8428 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.169, allocations: 8.031 kB / 0.8428 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/1.169, allocations: 3.938 kB / 0.8428 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.169, allocations: 0 / 0.8428 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.169, allocations: 4 kB / 0.8429 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/1.169, allocations: 221.2 kB / 0.8431 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.169, allocations: 112.4 kB / 0.8432 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/1.169, allocations: 3.938 kB / 0.8432 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.169, allocations: 11.88 kB / 0.8432 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/1.169, allocations: 11.98 kB / 0.8432 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/1.169, allocations: 7.984 kB / 0.8432 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001431/1.169, allocations: 149.6 kB / 0.8433 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 0 / 0.8433 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005571/1.17, allocations: 105.9 kB / 0.8434 GB, free: 5.18 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.0003746/1.17, allocations: 178.4 kB / 0.8436 GB, free: 5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000338/1.171, allocations: 187.2 kB / 0.8438 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.171, allocations: 0 / 0.8438 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/1.171, allocations: 35.48 kB / 0.8438 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/1.171, allocations: 49.53 kB / 0.8439 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.183, allocations: 4.938 MB / 0.8487 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.183, allocations: 0.7287 MB / 0.8494 GB, free: 148 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004091/1.184, allocations: 66.75 kB / 0.8495 GB, free: 84 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/1.184, allocations: 27.06 kB / 0.8495 GB, free: 60 kB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/1.184, allocations: 7.938 kB / 0.8495 GB, free: 52 kB / 0.4948 GB Notification: Performance of Templates: time 0.008457/1.192, allocations: 3.56 MB / 0.853 GB, free: 12.52 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches