Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008717/0.0008718, allocations: 101.5 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3493/0.3493, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.897e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/6.333, allocations: 3.12 GB / 3.593 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/6.333, allocations: 89.94 kB / 3.593 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.861/9.194, allocations: 1.137 GB / 4.73 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/9.194, allocations: 0 / 4.73 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.622e-05/9.194, allocations: 16 kB / 4.73 GB, free: 62.64 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.005951/9.2, allocations: 1.57 MB / 4.732 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/9.2, allocations: 11.45 kB / 4.732 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/9.2, allocations: 91.16 kB / 4.732 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/9.202, allocations: 0.5316 MB / 4.732 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/9.202, allocations: 108.9 kB / 4.732 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/9.202, allocations: 44 kB / 4.732 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/9.203, allocations: 0.8106 MB / 4.733 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/9.203, allocations: 3.938 kB / 4.733 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/9.203, allocations: 27.95 kB / 4.733 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/9.203, allocations: 36.56 kB / 4.733 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/9.204, allocations: 0.6198 MB / 4.734 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/9.207, allocations: 3.936 MB / 4.738 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/9.208, allocations: 391.5 kB / 4.738 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/9.208, allocations: 200.9 kB / 4.738 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/9.209, allocations: 0.5018 MB / 4.739 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/9.209, allocations: 38.89 kB / 4.739 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/9.209, allocations: 4 kB / 4.739 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.00232/9.211, allocations: 1.336 MB / 4.74 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/9.211, allocations: 136.5 kB / 4.74 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/9.212, allocations: 0.4889 MB / 4.741 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/9.212, allocations: 33.7 kB / 4.741 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/9.212, allocations: 356.5 kB / 4.741 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/9.212, allocations: 163 kB / 4.741 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/9.212, allocations: 16 kB / 4.741 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/9.212, allocations: 384.8 kB / 4.742 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/9.212, allocations: 208.8 kB / 4.742 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/9.213, allocations: 0.503 MB / 4.742 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/9.213, allocations: 302.9 kB / 4.743 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/9.213, allocations: 8 kB / 4.743 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001352/9.214, allocations: 0.9059 MB / 4.743 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/9.214, allocations: 11.61 kB / 4.743 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/9.215, allocations: 8 kB / 4.744 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009041/9.215, allocations: 261.8 kB / 4.744 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/9.216, allocations: 120.4 kB / 4.744 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006614/9.216, allocations: 0.8628 MB / 4.745 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/9.217, allocations: 45.94 kB / 4.745 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/9.217, allocations: 35.52 kB / 4.745 GB, free: 48.3 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.000125/9.217, allocations: 152.8 kB / 4.745 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/9.217, allocations: 69.12 kB / 4.745 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/9.218, allocations: 0.6972 MB / 4.746 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/9.218, allocations: 8 kB / 4.746 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/9.218, allocations: 4 kB / 4.746 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/9.218, allocations: 3.656 kB / 4.746 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/9.22, allocations: 1.37 MB / 4.747 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/9.22, allocations: 0 / 4.747 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/9.221, allocations: 197.5 kB / 4.747 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/9.221, allocations: 55.23 kB / 4.747 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/9.221, allocations: 19.89 kB / 4.747 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/9.223, allocations: 2.789 MB / 4.75 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/9.223, allocations: 4.031 kB / 4.75 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/9.224, allocations: 1.046 MB / 4.751 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/9.224, allocations: 201 kB / 4.751 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/9.224, allocations: 12 kB / 4.751 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/9.225, allocations: 37.81 kB / 4.751 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/9.225, allocations: 41.39 kB / 4.751 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/9.225, allocations: 19.84 kB / 4.751 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003445/9.225, allocations: 386.2 kB / 4.752 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/9.225, allocations: 0 / 4.752 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007974/9.226, allocations: 239.5 kB / 4.752 GB, free: 41.19 MB / 0.5105 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.0005945/9.226, allocations: 390.7 kB / 4.752 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008398/9.227, allocations: 0.5759 MB / 4.753 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/9.227, allocations: 4 kB / 4.753 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/9.228, allocations: 463.6 kB / 4.753 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/9.23, allocations: 323.2 kB / 4.754 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/9.231, allocations: 1.02 MB / 4.755 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/9.231, allocations: 0.9482 MB / 4.756 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000632/9.232, allocations: 209.2 kB / 4.756 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/9.232, allocations: 59.14 kB / 4.756 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/9.232, allocations: 0 / 4.756 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.02011/9.252, allocations: 16.13 MB / 4.772 GB, free: 25.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches