Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009132/0.0009131, allocations: 89.84 kB / 281.6 MB, free: 5.324 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.2174/0.2174, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.019e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.716, allocations: 422.1 MB / 0.9069 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.717, allocations: 95.92 kB / 0.907 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2539/1.971, allocations: 120.8 MB / 1.025 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/1.971, allocations: 0 / 1.025 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.786e-05/1.971, allocations: 23.94 kB / 1.025 GB, free: 61.2 MB / 0.5105 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.002853/1.974, allocations: 0.9596 MB / 1.026 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.974, allocations: 15.98 kB / 1.026 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/1.974, allocations: 87.05 kB / 1.026 GB, free: 60.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.975, allocations: 0.5428 MB / 1.027 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.976, allocations: 84.67 kB / 1.027 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.976, allocations: 36 kB / 1.027 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/1.977, allocations: 0.5453 MB / 1.027 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.978, allocations: 0.7331 MB / 1.028 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.978, allocations: 19.86 kB / 1.028 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/1.978, allocations: 0 / 1.028 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/1.978, allocations: 37.3 kB / 1.028 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/1.982, allocations: 3.97 MB / 1.032 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/1.983, allocations: 323.3 kB / 1.032 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.983, allocations: 161.4 kB / 1.032 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/1.983, allocations: 348.7 kB / 1.033 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.983, allocations: 42.78 kB / 1.033 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/1.983, allocations: 4 kB / 1.033 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002912/1.986, allocations: 1.275 MB / 1.034 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/1.986, allocations: 132.5 kB / 1.034 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/1.987, allocations: 446 kB / 1.034 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.987, allocations: 25.7 kB / 1.034 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.987, allocations: 383 kB / 1.035 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/1.987, allocations: 134.1 kB / 1.035 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.987, allocations: 0 / 1.035 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/1.987, allocations: 370.8 kB / 1.035 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/1.987, allocations: 201.5 kB / 1.036 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/1.988, allocations: 494.3 kB / 1.036 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/1.988, allocations: 324.5 kB / 1.036 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.988, allocations: 0 / 1.036 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001635/1.99, allocations: 0.8899 MB / 1.037 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.99, allocations: 8 kB / 1.037 GB, free: 47.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.99, allocations: 12.88 kB / 1.037 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007522/1.991, allocations: 224.7 kB / 1.037 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/1.991, allocations: 123.8 kB / 1.038 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007357/1.992, allocations: 0.882 MB / 1.038 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/1.992, allocations: 32.05 kB / 1.038 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/1.992, allocations: 43.98 kB / 1.038 GB, free: 46.56 MB / 0.5105 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 () * 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.000153/1.993, allocations: 130 kB / 1.039 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/1.993, allocations: 63.25 kB / 1.039 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/1.994, allocations: 0.584 MB / 1.039 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.994, allocations: 8 kB / 1.039 GB, free: 45.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.994, allocations: 0 / 1.039 GB, free: 45.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/1.994, allocations: 7.922 kB / 1.039 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/1.996, allocations: 1.48 MB / 1.041 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.996, allocations: 4.031 kB / 1.041 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/1.997, allocations: 191.8 kB / 1.041 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/1.997, allocations: 52.7 kB / 1.041 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/1.997, allocations: 7.984 kB / 1.041 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/1.999, allocations: 2.686 MB / 1.044 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.999, allocations: 4.031 kB / 1.044 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/2, allocations: 0.961 MB / 1.044 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/2, allocations: 196.2 kB / 1.045 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/2, allocations: 12 kB / 1.045 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/2.001, allocations: 20.05 kB / 1.045 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/2.001, allocations: 31.89 kB / 1.045 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/2.001, allocations: 23.98 kB / 1.045 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003524/2.001, allocations: 322.9 kB / 1.045 GB, free: 39.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.001, allocations: 0 / 1.045 GB, free: 39.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009563/2.002, allocations: 203.9 kB / 1.045 GB, free: 39.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.0005879/2.003, allocations: 259.1 kB / 1.046 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009334/2.004, allocations: 0.5237 MB / 1.046 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/2.004, allocations: 0 / 1.046 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008965/2.005, allocations: 431 kB / 1.046 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/2.006, allocations: 266.3 kB / 1.047 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/2.008, allocations: 0.9499 MB / 1.048 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/2.008, allocations: 0.9536 MB / 1.049 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006745/2.009, allocations: 201.2 kB / 1.049 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/2.009, allocations: 51.42 kB / 1.049 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/2.009, allocations: 4 kB / 1.049 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.01849/2.027, allocations: 11.8 MB / 1.06 GB, free: 23.73 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches