Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.248/1.248, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 89.67 kB / 292.1 MB, free: 10.72 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.3158/0.3158, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 61.9 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.826/1.13, allocations: 407.7 MB / 0.9077 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.13, allocations: 93.08 kB / 0.9078 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6859/1.816, allocations: 196.9 MB / 1.1 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.815e-06/1.816, allocations: 0.7969 kB / 1.1 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.601e-05/1.816, allocations: 26.8 kB / 1.1 GB, free: 96.94 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003925/1.82, allocations: 1.462 MB / 1.101 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.82, allocations: 6.812 kB / 1.102 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/1.821, allocations: 119 kB / 1.102 GB, free: 96.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/1.822, allocations: 0.8004 MB / 1.102 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/1.822, allocations: 112 kB / 1.103 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.822, allocations: 65.11 kB / 1.103 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/1.824, allocations: 1.208 MB / 1.104 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.824, allocations: 9.062 kB / 1.104 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.824, allocations: 32.48 kB / 1.104 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.073e-05/1.824, allocations: 73 kB / 1.104 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/1.826, allocations: 1.185 MB / 1.105 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007177/1.833, allocations: 4.714 MB / 1.11 GB, free: 94.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.834, allocations: 0.6931 MB / 1.11 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002789/1.837, allocations: 2.443 MB / 1.113 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.837, allocations: 40.58 kB / 1.113 GB, free: 92.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 1.863e-06/1.837, allocations: 0 / 1.113 GB, free: 92.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.006123/1.843, allocations: 3.005 MB / 1.116 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.843, allocations: 164.6 kB / 1.116 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/1.844, allocations: 0.8301 MB / 1.117 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/1.844, allocations: 43.95 kB / 1.117 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.845, allocations: 466 kB / 1.117 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/1.845, allocations: 198.2 kB / 1.117 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/1.845, allocations: 17.88 kB / 1.117 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/1.845, allocations: 348.2 kB / 1.118 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/1.846, allocations: 446 kB / 1.118 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/1.846, allocations: 0.6732 MB / 1.119 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/1.847, allocations: 0.5191 MB / 1.119 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.847, allocations: 3.172 kB / 1.119 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002034/1.849, allocations: 1.503 MB / 1.121 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00042/1.849, allocations: 2.443 MB / 1.123 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.849, allocations: 11.44 kB / 1.123 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.851, allocations: 0.5198 MB / 1.124 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/1.852, allocations: 180 kB / 1.124 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/1.854, allocations: 2.939 MB / 1.127 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/1.855, allocations: 57.92 kB / 1.127 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/1.855, allocations: 40.59 kB / 1.127 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.855, allocations: 10.36 kB / 1.127 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001999/1.857, allocations: 1.369 MB / 1.128 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.857, allocations: 6.156 kB / 1.128 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009037/1.858, allocations: 413.8 kB / 1.128 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/1.858, allocations: 182.9 kB / 1.129 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/1.86, allocations: 2.833 MB / 1.131 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/1.861, allocations: 56.03 kB / 1.131 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/1.861, allocations: 49.2 kB / 1.132 GB, free: 83.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005951/1.862, allocations: 364.8 kB / 1.132 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.862, allocations: 101.8 kB / 1.132 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/1.864, allocations: 1.397 MB / 1.133 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.864, allocations: 13.31 kB / 1.133 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.864, allocations: 0 / 1.133 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.864, allocations: 3.422 kB / 1.133 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/1.867, allocations: 2.348 MB / 1.136 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.867, allocations: 0 / 1.136 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/1.868, allocations: 93.2 kB / 1.136 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/1.869, allocations: 0.5122 MB / 1.136 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/1.869, allocations: 16.05 kB / 1.136 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/1.871, allocations: 2.928 MB / 1.139 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.871, allocations: 3.531 kB / 1.139 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.873, allocations: 1.782 MB / 1.141 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/1.874, allocations: 306.5 kB / 1.141 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/1.874, allocations: 18.84 kB / 1.141 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/1.875, allocations: 38.22 kB / 1.141 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.875, allocations: 54.94 kB / 1.141 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/1.875, allocations: 29.94 kB / 1.141 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008787/1.876, allocations: 0.6615 MB / 1.142 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/1.876, allocations: 2.906 kB / 1.142 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002666/1.879, allocations: 0.8904 MB / 1.143 GB, free: 79.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/1.881, allocations: 0.8401 MB / 1.144 GB, free: 79.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004027/1.885, allocations: 1.923 MB / 1.146 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.885, allocations: 1.375 kB / 1.146 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/1.886, allocations: 0.5735 MB / 1.146 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.888, allocations: 378.6 kB / 1.146 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/1.892, allocations: 2.257 MB / 1.149 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/1.893, allocations: 1.08 MB / 1.15 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001697/1.895, allocations: 421.7 kB / 1.15 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.895, allocations: 96.08 kB / 1.15 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/1.895, allocations: 0 / 1.15 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.04072/1.936, allocations: 28.07 MB / 1.178 GB, free: 76.15 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches