Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.729/1.729, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008007/0.0008007, allocations: 98.22 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3825/0.3825, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.000416, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4112, allocations: 62.95 MB / 0.5184 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.586, allocations: 423.9 MB / 0.9324 GB, free: 189 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.587, allocations: 97.36 kB / 0.9325 GB, free: 189 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2433/1.83, allocations: 121.5 MB / 1.051 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.475e-06/1.83, allocations: 0 / 1.051 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.164e-05/1.83, allocations: 16 kB / 1.051 GB, free: 72.11 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003045/1.833, allocations: 1.037 MB / 1.052 GB, free: 71.03 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.833, allocations: 12.03 kB / 1.052 GB, free: 71.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/1.834, allocations: 95.98 kB / 1.052 GB, free: 70.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.835, allocations: 0.5452 MB / 1.053 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.835, allocations: 109.5 kB / 1.053 GB, free: 70.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.835, allocations: 48 kB / 1.053 GB, free: 70.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.837, allocations: 0.8269 MB / 1.054 GB, free: 69.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.837, allocations: 3.938 kB / 1.054 GB, free: 69.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.837, allocations: 24 kB / 1.054 GB, free: 69.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/1.837, allocations: 36.98 kB / 1.054 GB, free: 69.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.838, allocations: 0.6322 MB / 1.054 GB, free: 68.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/1.842, allocations: 3.906 MB / 1.058 GB, free: 64.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/1.843, allocations: 395.8 kB / 1.059 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/1.843, allocations: 201.4 kB / 1.059 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/1.844, allocations: 0.5028 MB / 1.059 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.844, allocations: 42.89 kB / 1.059 GB, free: 63.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/1.844, allocations: 3.938 kB / 1.059 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.002994/1.847, allocations: 1.504 MB / 1.061 GB, free: 61.62 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/1.847, allocations: 140.5 kB / 1.061 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/1.847, allocations: 0.5615 MB / 1.062 GB, free: 60.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/1.847, allocations: 37.7 kB / 1.062 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/1.848, allocations: 354.9 kB / 1.062 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/1.848, allocations: 165.7 kB / 1.062 GB, free: 60.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/1.848, allocations: 12 kB / 1.062 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/1.848, allocations: 374.8 kB / 1.062 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/1.848, allocations: 217.9 kB / 1.063 GB, free: 59.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/1.849, allocations: 0.5123 MB / 1.063 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/1.849, allocations: 0.7644 MB / 1.064 GB, free: 58.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/1.849, allocations: 4 kB / 1.064 GB, free: 58.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001573/1.851, allocations: 0.9296 MB / 1.065 GB, free: 57.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.851, allocations: 8 kB / 1.065 GB, free: 57.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.851, allocations: 12.16 kB / 1.065 GB, free: 57.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.852, allocations: 270.2 kB / 1.065 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/1.853, allocations: 119.8 kB / 1.065 GB, free: 56.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/1.853, allocations: 0.8605 MB / 1.066 GB, free: 55.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/1.854, allocations: 47.98 kB / 1.066 GB, free: 55.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/1.854, allocations: 35.98 kB / 1.066 GB, free: 55.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003546/1.854, allocations: 241.5 kB / 1.066 GB, free: 55.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.854, allocations: 71.16 kB / 1.066 GB, free: 55.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/1.856, allocations: 0.7077 MB / 1.067 GB, free: 54.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.856, allocations: 11.94 kB / 1.067 GB, free: 54.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.856, allocations: 0 / 1.067 GB, free: 54.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.856, allocations: 4 kB / 1.067 GB, free: 54.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.858, allocations: 1.372 MB / 1.068 GB, free: 53.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.858, allocations: 0 / 1.068 GB, free: 53.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/1.858, allocations: 195.7 kB / 1.069 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/1.859, allocations: 64.91 kB / 1.069 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.859, allocations: 19.98 kB / 1.069 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/1.86, allocations: 2.789 MB / 1.071 GB, free: 50.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.86, allocations: 3.938 kB / 1.071 GB, free: 50.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/1.862, allocations: 0.9762 MB / 1.072 GB, free: 49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/1.862, allocations: 192.3 kB / 1.073 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/1.862, allocations: 12 kB / 1.073 GB, free: 48.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/1.862, allocations: 39.88 kB / 1.073 GB, free: 48.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/1.863, allocations: 39.89 kB / 1.073 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/1.863, allocations: 19.98 kB / 1.073 GB, free: 48.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004085/1.863, allocations: 394.8 kB / 1.073 GB, free: 48.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/1.863, allocations: 0 / 1.073 GB, free: 48.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008922/1.864, allocations: 216 kB / 1.073 GB, free: 48.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005401/1.864, allocations: 288.1 kB / 1.074 GB, free: 47.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009646/1.865, allocations: 0.5925 MB / 1.074 GB, free: 47.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.865, allocations: 0 / 1.074 GB, free: 47.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009575/1.866, allocations: 479.1 kB / 1.075 GB, free: 46.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.868, allocations: 337.3 kB / 1.075 GB, free: 46.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/1.87, allocations: 1.653 MB / 1.077 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.87, allocations: 0.9348 MB / 1.077 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006844/1.871, allocations: 200.8 kB / 1.078 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/1.871, allocations: 63.36 kB / 1.078 GB, free: 43.49 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/1.871, allocations: 0 / 1.078 GB, free: 43.49 MB / 0.5417 GB Notification: Performance of Templates: time 0.02089/1.892, allocations: 13.86 MB / 1.091 GB, free: 29.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches