Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009215/0.0009214, allocations: 96.42 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.815e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.144, allocations: 408 MB / 0.9028 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.144, allocations: 90.38 kB / 0.9029 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6818/1.826, allocations: 194.3 MB / 1.093 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/1.826, allocations: 0 / 1.093 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.279e-05/1.826, allocations: 27.92 kB / 1.093 GB, free: 72.27 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.002763/1.829, allocations: 1.348 MB / 1.094 GB, free: 70.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.829, allocations: 12.02 kB / 1.094 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/1.829, allocations: 122.8 kB / 1.094 GB, free: 70.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.831, allocations: 0.7842 MB / 1.095 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/1.831, allocations: 92.67 kB / 1.095 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/1.831, allocations: 36 kB / 1.095 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001271/1.832, allocations: 1.069 MB / 1.096 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.833, allocations: 1.095 MB / 1.097 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.833, allocations: 0 / 1.097 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/1.833, allocations: 8 kB / 1.097 GB, free: 67.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.59e-05/1.834, allocations: 73.95 kB / 1.097 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006053/1.84, allocations: 4.549 MB / 1.102 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/1.84, allocations: 0.6517 MB / 1.102 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/1.841, allocations: 410.4 kB / 1.103 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/1.843, allocations: 2.589 MB / 1.105 GB, free: 58.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.843, allocations: 39 kB / 1.105 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/1.843, allocations: 3.938 kB / 1.105 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.007585/1.851, allocations: 3.044 MB / 1.108 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/1.851, allocations: 166.8 kB / 1.108 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/1.852, allocations: 0.6363 MB / 1.109 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/1.852, allocations: 25.7 kB / 1.109 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.852, allocations: 478.3 kB / 1.109 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/1.852, allocations: 189.3 kB / 1.11 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/1.852, allocations: 0 / 1.11 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/1.852, allocations: 386.8 kB / 1.11 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/1.853, allocations: 426.5 kB / 1.11 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/1.853, allocations: 0.6548 MB / 1.111 GB, free: 52.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/1.857, allocations: 1.082 MB / 1.112 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.857, allocations: 0 / 1.112 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004256/1.861, allocations: 2.013 MB / 1.114 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/1.861, allocations: 2.448 MB / 1.116 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.861, allocations: 4 kB / 1.116 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/1.862, allocations: 426.3 kB / 1.117 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/1.863, allocations: 183.7 kB / 1.117 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/1.866, allocations: 3.145 MB / 1.12 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/1.866, allocations: 39.81 kB / 1.12 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/1.866, allocations: 52.06 kB / 1.12 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.867, allocations: 4 kB / 1.12 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004087/1.871, allocations: 1.79 MB / 1.122 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.871, allocations: 12.48 kB / 1.122 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000739/1.871, allocations: 390.2 kB / 1.122 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/1.872, allocations: 183.7 kB / 1.123 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.874, allocations: 2.954 MB / 1.125 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/1.875, allocations: 40.11 kB / 1.125 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/1.875, allocations: 47.92 kB / 1.126 GB, free: 37.14 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 () * 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.0002256/1.875, allocations: 128.7 kB / 1.126 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.875, allocations: 90.95 kB / 1.126 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/1.878, allocations: 1.462 MB / 1.127 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.878, allocations: 8 kB / 1.127 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.878, allocations: 0 / 1.127 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.878, allocations: 3.984 kB / 1.127 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/1.882, allocations: 2.416 MB / 1.13 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.882, allocations: 0 / 1.13 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/1.883, allocations: 87.88 kB / 1.13 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008512/1.884, allocations: 430.2 kB / 1.13 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/1.884, allocations: 11.98 kB / 1.13 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/1.886, allocations: 3.079 MB / 1.133 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.886, allocations: 7.984 kB / 1.133 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/1.889, allocations: 1.905 MB / 1.135 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/1.89, allocations: 279.9 kB / 1.135 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/1.89, allocations: 8.062 kB / 1.135 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/1.89, allocations: 31.89 kB / 1.135 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.891, allocations: 56.48 kB / 1.135 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/1.891, allocations: 27.97 kB / 1.135 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000544/1.891, allocations: 495.1 kB / 1.136 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.891, allocations: 0 / 1.136 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002672/1.894, allocations: 0.8507 MB / 1.137 GB, free: 25.42 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 () * 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.002337/1.896, allocations: 0.8467 MB / 1.137 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002937/1.899, allocations: 1.788 MB / 1.139 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.899, allocations: 11.92 kB / 1.139 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008492/1.9, allocations: 0.5464 MB / 1.14 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.902, allocations: 320.6 kB / 1.14 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/1.905, allocations: 1.399 MB / 1.141 GB, free: 20.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/1.905, allocations: 1.082 MB / 1.142 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001636/1.907, allocations: 431.8 kB / 1.143 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.907, allocations: 79.33 kB / 1.143 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/1.907, allocations: 0 / 1.143 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.3131/2.22, allocations: 25.59 MB / 1.168 GB, free: 112.9 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches