Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007414/0.0007414, allocations: 90.09 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3206/0.3206, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.358, allocations: 62.95 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9718/1.33, allocations: 408.7 MB / 0.9156 GB, free: 192.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.33, allocations: 92.3 kB / 0.9157 GB, free: 192.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4107/1.741, allocations: 194.8 MB / 1.106 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/1.741, allocations: 4 kB / 1.106 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001178/1.741, allocations: 24 kB / 1.106 GB, free: 11.89 MB / 0.5417 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.00473/1.746, allocations: 1.457 MB / 1.107 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.746, allocations: 8.031 kB / 1.107 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/1.747, allocations: 123.7 kB / 1.108 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.749, allocations: 0.813 MB / 1.108 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/1.749, allocations: 116.7 kB / 1.108 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/1.749, allocations: 71.91 kB / 1.109 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.752, allocations: 1.21 MB / 1.11 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.752, allocations: 0 / 1.11 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/1.752, allocations: 31.97 kB / 1.11 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/1.752, allocations: 73.95 kB / 1.11 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/1.754, allocations: 1.191 MB / 1.111 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007731/1.761, allocations: 4.658 MB / 1.116 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.763, allocations: 0.6818 MB / 1.116 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/1.763, allocations: 428 kB / 1.117 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3358/2.099, allocations: 2.407 MB / 1.119 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/2.099, allocations: 44.94 kB / 1.119 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 4.128e-06/2.099, allocations: 4.547 kB / 1.119 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.007493/2.107, allocations: 3.032 MB / 1.122 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/2.107, allocations: 169 kB / 1.122 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/2.108, allocations: 0.9318 MB / 1.123 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/2.108, allocations: 37.02 kB / 1.123 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/2.108, allocations: 470.5 kB / 1.124 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/2.109, allocations: 200.2 kB / 1.124 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/2.109, allocations: 16.09 kB / 1.124 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/2.109, allocations: 347.5 kB / 1.124 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/2.109, allocations: 445 kB / 1.124 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/2.11, allocations: 0.678 MB / 1.125 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/2.112, allocations: 1.037 MB / 1.126 GB, free: 104 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.112, allocations: 3.781 kB / 1.126 GB, free: 104 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002361/2.114, allocations: 1.503 MB / 1.128 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/2.114, allocations: 283.2 kB / 1.128 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/2.114, allocations: 3.062 kB / 1.128 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/2.116, allocations: 0.5227 MB / 1.128 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/2.116, allocations: 185.1 kB / 1.129 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/2.119, allocations: 2.938 MB / 1.131 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/2.12, allocations: 58 kB / 1.131 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/2.12, allocations: 48.38 kB / 1.132 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/2.12, allocations: 3.562 kB / 1.132 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/2.122, allocations: 1.37 MB / 1.133 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/2.122, allocations: 8.344 kB / 1.133 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009757/2.123, allocations: 406.4 kB / 1.133 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/2.124, allocations: 195.1 kB / 1.133 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/2.126, allocations: 2.815 MB / 1.136 GB, free: 98.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/2.127, allocations: 56.05 kB / 1.136 GB, free: 98.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/2.127, allocations: 41.73 kB / 1.136 GB, free: 98.7 MB / 0.5417 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.0006847/2.127, allocations: 376.7 kB / 1.137 GB, free: 98.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/2.128, allocations: 98.78 kB / 1.137 GB, free: 98.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/2.13, allocations: 1.392 MB / 1.138 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/2.13, allocations: 5.844 kB / 1.138 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/2.13, allocations: 0.9844 kB / 1.138 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/2.13, allocations: 9.562 kB / 1.138 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/2.134, allocations: 2.338 MB / 1.14 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/2.134, allocations: 0 / 1.14 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/2.134, allocations: 89.03 kB / 1.141 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/2.136, allocations: 0.5101 MB / 1.141 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/2.136, allocations: 16.86 kB / 1.141 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/2.138, allocations: 2.929 MB / 1.144 GB, free: 95.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.138, allocations: 3.281 kB / 1.144 GB, free: 95.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/2.141, allocations: 1.757 MB / 1.146 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/2.141, allocations: 300.2 kB / 1.146 GB, free: 95.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/2.141, allocations: 19.09 kB / 1.146 GB, free: 95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/2.142, allocations: 43.89 kB / 1.146 GB, free: 95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/2.143, allocations: 59.81 kB / 1.146 GB, free: 95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/2.143, allocations: 27.08 kB / 1.146 GB, free: 95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001197/2.144, allocations: 0.6642 MB / 1.147 GB, free: 94.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/2.144, allocations: 0 / 1.147 GB, free: 94.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003524/2.147, allocations: 0.9001 MB / 1.148 GB, free: 94.89 MB / 0.5417 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.00343/2.151, allocations: 0.8419 MB / 1.148 GB, free: 94.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004603/2.155, allocations: 1.914 MB / 1.15 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/2.155, allocations: 0 / 1.15 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/2.157, allocations: 0.5709 MB / 1.151 GB, free: 94.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/2.159, allocations: 393.7 kB / 1.151 GB, free: 94.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/2.163, allocations: 2.302 MB / 1.153 GB, free: 93.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/2.164, allocations: 1.059 MB / 1.154 GB, free: 92.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/2.165, allocations: 101.4 kB / 1.155 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.733e-06/2.165, allocations: 0 / 1.155 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.0511/2.216, allocations: 32.41 MB / 1.186 GB, free: 91.38 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches