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.001027/0.001026, allocations: 183 kB / 18.09 MB, free: 3.727 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.329/1.329, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007769/0.0007769, allocations: 97.05 kB / 293.3 MB, free: 10.77 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.3438/0.3438, allocations: 44.14 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12 kB / 461.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 61.88 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9034/1.259, allocations: 407.8 MB / 0.909 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.259, allocations: 97.03 kB / 0.9091 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.684/1.943, allocations: 195.4 MB / 1.1 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.885e-06/1.943, allocations: 0 / 1.1 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.711e-05/1.943, allocations: 31.28 kB / 1.1 GB, free: 96.41 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.004227/1.948, allocations: 1.457 MB / 1.101 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.948, allocations: 9.312 kB / 1.101 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/1.948, allocations: 119.3 kB / 1.101 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.95, allocations: 0.8131 MB / 1.102 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/1.95, allocations: 116.8 kB / 1.102 GB, free: 95.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.95, allocations: 68.47 kB / 1.102 GB, free: 95.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.951, allocations: 1.211 MB / 1.104 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/1.952, allocations: 0 / 1.104 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.952, allocations: 32.41 kB / 1.104 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.913e-05/1.952, allocations: 72.05 kB / 1.104 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.953, allocations: 1.19 MB / 1.105 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006646/1.96, allocations: 4.657 MB / 1.109 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/1.961, allocations: 0.6888 MB / 1.11 GB, free: 93.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/1.962, allocations: 424.1 kB / 1.11 GB, free: 93.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003096/1.965, allocations: 2.422 MB / 1.113 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.965, allocations: 37.47 kB / 1.113 GB, free: 92.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 3.066e-06/1.965, allocations: 7.391 kB / 1.113 GB, free: 92.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.00619/1.971, allocations: 3.039 MB / 1.116 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.971, allocations: 161.1 kB / 1.116 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.972, allocations: 0.934 MB / 1.117 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/1.972, allocations: 35.98 kB / 1.117 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/1.972, allocations: 458.5 kB / 1.117 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.973, allocations: 206.4 kB / 1.118 GB, free: 90.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/1.973, allocations: 18.38 kB / 1.118 GB, free: 90.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/1.973, allocations: 344 kB / 1.118 GB, free: 90.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/1.973, allocations: 444.7 kB / 1.118 GB, free: 90.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/1.974, allocations: 0.677 MB / 1.119 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.975, allocations: 1.039 MB / 1.12 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.975, allocations: 2.531 kB / 1.12 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002212/1.978, allocations: 1.515 MB / 1.122 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.978, allocations: 272.9 kB / 1.122 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.978, allocations: 12.06 kB / 1.122 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/1.979, allocations: 0.508 MB / 1.122 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/1.98, allocations: 186.8 kB / 1.122 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/1.982, allocations: 2.943 MB / 1.125 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.983, allocations: 56.58 kB / 1.125 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.983, allocations: 45.66 kB / 1.125 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.983, allocations: 2.438 kB / 1.125 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/1.986, allocations: 1.367 MB / 1.127 GB, free: 87.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.986, allocations: 12.69 kB / 1.127 GB, free: 87.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/1.986, allocations: 406 kB / 1.127 GB, free: 87.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/1.987, allocations: 187.5 kB / 1.127 GB, free: 87.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/1.989, allocations: 2.82 MB / 1.13 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/1.99, allocations: 65.72 kB / 1.13 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.99, allocations: 40.61 kB / 1.13 GB, free: 84.83 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.0006183/1.991, allocations: 374.3 kB / 1.131 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.991, allocations: 93.31 kB / 1.131 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.993, allocations: 1.392 MB / 1.132 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.993, allocations: 8.969 kB / 1.132 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.993, allocations: 2.812 kB / 1.132 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.993, allocations: 3.469 kB / 1.132 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/1.996, allocations: 2.335 MB / 1.134 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.996, allocations: 0 / 1.134 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/1.997, allocations: 89.61 kB / 1.134 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/1.998, allocations: 0.5173 MB / 1.135 GB, free: 83.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.998, allocations: 17.38 kB / 1.135 GB, free: 83.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/2, allocations: 2.923 MB / 1.138 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2, allocations: 1.031 kB / 1.138 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/2.003, allocations: 1.763 MB / 1.14 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/2.003, allocations: 299.8 kB / 1.14 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/2.004, allocations: 12.53 kB / 1.14 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/2.004, allocations: 49.36 kB / 1.14 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/2.005, allocations: 59.31 kB / 1.14 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/2.005, allocations: 31.48 kB / 1.14 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008861/2.005, allocations: 0.6599 MB / 1.141 GB, free: 81.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/2.006, allocations: 2.656 kB / 1.141 GB, free: 81.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003016/2.009, allocations: 0.884 MB / 1.141 GB, free: 80.9 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.002486/2.011, allocations: 0.8495 MB / 1.142 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003823/2.015, allocations: 1.912 MB / 1.144 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.015, allocations: 1.375 kB / 1.144 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/2.016, allocations: 0.5797 MB / 1.145 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/2.018, allocations: 389.9 kB / 1.145 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/2.022, allocations: 2.246 MB / 1.147 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/2.023, allocations: 1.065 MB / 1.148 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001628/2.025, allocations: 419 kB / 1.149 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/2.025, allocations: 97.19 kB / 1.149 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/2.025, allocations: 0 / 1.149 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.04924/2.074, allocations: 28.87 MB / 1.177 GB, free: 77.78 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/jenkins1/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