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.001115/0.001115, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 86.64 kB / 261.7 MB, free: 1.617 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.2101/0.2101, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.224e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.018/7.135, allocations: 3.119 GB / 3.585 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/7.135, allocations: 99.84 kB / 3.585 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.571/10.71, allocations: 1.125 GB / 4.71 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/10.71, allocations: 1.859 kB / 4.71 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.51e-05/10.71, allocations: 16 kB / 4.71 GB, free: 62.57 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.006902/10.71, allocations: 1.572 MB / 4.712 GB, free: 60.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/10.71, allocations: 8.031 kB / 4.712 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/10.71, allocations: 91.05 kB / 4.712 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/10.72, allocations: 0.5426 MB / 4.712 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/10.72, allocations: 80.72 kB / 4.712 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/10.72, allocations: 28 kB / 4.712 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009618/10.72, allocations: 0.5492 MB / 4.713 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/10.72, allocations: 0.7423 MB / 4.714 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/10.72, allocations: 7.469 kB / 4.714 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/10.72, allocations: 0 / 4.714 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/10.72, allocations: 37.3 kB / 4.714 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/10.72, allocations: 3.985 MB / 4.718 GB, free: 54.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/10.72, allocations: 311.3 kB / 4.718 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/10.72, allocations: 165.3 kB / 4.718 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/10.72, allocations: 344.7 kB / 4.718 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/10.72, allocations: 42.84 kB / 4.718 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/10.72, allocations: 0 / 4.718 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002929/10.73, allocations: 1.289 MB / 4.72 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/10.73, allocations: 136.5 kB / 4.72 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/10.73, allocations: 446 kB / 4.72 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/10.73, allocations: 25.7 kB / 4.72 GB, free: 51.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/10.73, allocations: 383 kB / 4.721 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/10.73, allocations: 134.1 kB / 4.721 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/10.73, allocations: 3.938 kB / 4.721 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/10.73, allocations: 374.8 kB / 4.721 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/10.73, allocations: 197.5 kB / 4.721 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/10.73, allocations: 494.3 kB / 4.722 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/10.73, allocations: 324.5 kB / 4.722 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/10.73, allocations: 0 / 4.722 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001705/10.73, allocations: 0.8907 MB / 4.723 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/10.73, allocations: 8 kB / 4.723 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/10.73, allocations: 20.08 kB / 4.723 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/10.73, allocations: 226.4 kB / 4.723 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/10.73, allocations: 127.8 kB / 4.723 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/10.73, allocations: 0.8755 MB / 4.724 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/10.73, allocations: 35.98 kB / 4.724 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/10.73, allocations: 36 kB / 4.724 GB, free: 47.39 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.0001406/10.73, allocations: 136.9 kB / 4.724 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/10.73, allocations: 62.62 kB / 4.724 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/10.73, allocations: 0.5809 MB / 4.725 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/10.73, allocations: 11.95 kB / 4.725 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/10.73, allocations: 0 / 4.725 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/10.73, allocations: 3.984 kB / 4.725 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/10.74, allocations: 1.487 MB / 4.726 GB, free: 45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/10.74, allocations: 7.984 kB / 4.726 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/10.74, allocations: 187.7 kB / 4.727 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/10.74, allocations: 56.98 kB / 4.727 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/10.74, allocations: 7.984 kB / 4.727 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/10.74, allocations: 2.671 MB / 4.729 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/10.74, allocations: 8.094 kB / 4.729 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/10.74, allocations: 0.9608 MB / 4.73 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/10.74, allocations: 192.2 kB / 4.73 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/10.74, allocations: 4 kB / 4.73 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/10.74, allocations: 23.98 kB / 4.73 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/10.74, allocations: 35.89 kB / 4.73 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/10.74, allocations: 16 kB / 4.73 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003192/10.74, allocations: 330.9 kB / 4.731 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/10.74, allocations: 4 kB / 4.731 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001018/10.74, allocations: 215.9 kB / 4.731 GB, free: 39.98 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.0007183/10.74, allocations: 411.1 kB / 4.731 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008827/10.74, allocations: 0.5263 MB / 4.732 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/10.74, allocations: 0 / 4.732 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/10.74, allocations: 432.9 kB / 4.732 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/10.75, allocations: 257.5 kB / 4.733 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/10.75, allocations: 0.9595 MB / 4.734 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/10.75, allocations: 0.9497 MB / 4.734 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006389/10.75, allocations: 194.3 kB / 4.735 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/10.75, allocations: 63.36 kB / 4.735 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/10.75, allocations: 0 / 4.735 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.0197/10.77, allocations: 12.66 MB / 4.747 GB, free: 23.66 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