Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.263/1.263, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008875/0.0008875, allocations: 91.75 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.746e-05, allocations: 224 / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.806/6.948, allocations: 3.126 GB / 3.628 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/6.948, allocations: 100.4 kB / 3.628 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3/9.948, allocations: 1.141 GB / 4.77 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/9.948, allocations: 0 / 4.77 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.02e-05/9.948, allocations: 23.95 kB / 4.77 GB, free: 34.18 MB / 0.5261 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.006182/9.954, allocations: 1.569 MB / 4.771 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/9.955, allocations: 12.02 kB / 4.771 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/9.955, allocations: 87.67 kB / 4.771 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/9.956, allocations: 0.5365 MB / 4.772 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/9.956, allocations: 100.4 kB / 4.772 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/9.956, allocations: 48 kB / 4.772 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/9.957, allocations: 0.8155 MB / 4.773 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/9.957, allocations: 0 / 4.773 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/9.957, allocations: 24 kB / 4.773 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/9.957, allocations: 40.92 kB / 4.773 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/9.958, allocations: 0.6167 MB / 4.774 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/9.961, allocations: 3.933 MB / 4.777 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/9.962, allocations: 389 kB / 4.778 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/9.962, allocations: 201.4 kB / 4.778 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/9.963, allocations: 0.499 MB / 4.778 GB, free: 24.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/9.963, allocations: 42.83 kB / 4.778 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/9.963, allocations: 0 / 4.778 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.00237/9.965, allocations: 1.338 MB / 4.78 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/9.965, allocations: 140.5 kB / 4.78 GB, free: 23.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/9.965, allocations: 0.4969 MB / 4.78 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/9.966, allocations: 33.7 kB / 4.78 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/9.966, allocations: 351 kB / 4.781 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/9.966, allocations: 169.4 kB / 4.781 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/9.966, allocations: 16 kB / 4.781 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/9.966, allocations: 370.8 kB / 4.781 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/9.966, allocations: 213.4 kB / 4.781 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/9.967, allocations: 0.4988 MB / 4.782 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/9.967, allocations: 309.4 kB / 4.782 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/9.967, allocations: 4 kB / 4.782 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001331/9.968, allocations: 0.9141 MB / 4.783 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/9.968, allocations: 17.34 kB / 4.783 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/9.968, allocations: 8 kB / 4.783 GB, free: 19.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009328/9.969, allocations: 255 kB / 4.783 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/9.97, allocations: 127.8 kB / 4.784 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006626/9.97, allocations: 0.8567 MB / 4.784 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/9.971, allocations: 39.97 kB / 4.784 GB, free: 18.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/9.971, allocations: 39.98 kB / 4.784 GB, free: 18.35 MB / 0.5261 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.0001336/9.971, allocations: 160.7 kB / 4.785 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/9.971, allocations: 63.25 kB / 4.785 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/9.972, allocations: 0.6906 MB / 4.785 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/9.972, allocations: 4 kB / 4.785 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/9.972, allocations: 0 / 4.785 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/9.972, allocations: 7.984 kB / 4.785 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/9.974, allocations: 1.38 MB / 4.787 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/9.974, allocations: 4 kB / 4.787 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/9.975, allocations: 191.8 kB / 4.787 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/9.975, allocations: 57.02 kB / 4.787 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/9.975, allocations: 16 kB / 4.787 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/9.977, allocations: 2.781 MB / 4.79 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/9.977, allocations: 4.031 kB / 4.79 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/9.978, allocations: 1.046 MB / 4.791 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/9.978, allocations: 212.1 kB / 4.791 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/9.978, allocations: 16 kB / 4.791 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/9.979, allocations: 23.98 kB / 4.791 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/9.979, allocations: 36.02 kB / 4.791 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/9.979, allocations: 19.98 kB / 4.791 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004091/9.979, allocations: 389.5 kB / 4.791 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/9.979, allocations: 0 / 4.791 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009405/9.98, allocations: 239.9 kB / 4.792 GB, free: 10.58 MB / 0.5261 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 () * 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.000665/9.981, allocations: 398 kB / 4.792 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009261/9.982, allocations: 0.5811 MB / 4.793 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/9.982, allocations: 4 kB / 4.793 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009167/9.983, allocations: 467.7 kB / 4.793 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/9.984, allocations: 328.5 kB / 4.793 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/9.985, allocations: 1.009 MB / 4.794 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/9.986, allocations: 0.9505 MB / 4.795 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006245/9.986, allocations: 209.2 kB / 4.795 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/9.987, allocations: 55.42 kB / 4.795 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/9.987, allocations: 0 / 4.795 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of Templates: time 0.2988/10.29, allocations: 16.15 MB / 4.811 GB, free: 69.05 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches