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.001303/0.001303, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009128/0.0009128, allocations: 103.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3531/0.3531, allocations: 45.24 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003227, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3575, allocations: 63.25 MB / 0.5192 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9776/1.335, allocations: 408.7 MB / 0.9183 GB, free: 186 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.335, allocations: 91.88 kB / 0.9184 GB, free: 186 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4351/1.771, allocations: 196.4 MB / 1.11 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.425e-06/1.771, allocations: 0 / 1.11 GB, free: 24.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001533/1.771, allocations: 28 kB / 1.11 GB, free: 24.62 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.005218/1.776, allocations: 1.468 MB / 1.112 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.776, allocations: 16.02 kB / 1.112 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008045/1.777, allocations: 110.8 kB / 1.112 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/1.779, allocations: 0.792 MB / 1.113 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.779, allocations: 120.6 kB / 1.113 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/1.779, allocations: 67.98 kB / 1.113 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/1.782, allocations: 1.199 MB / 1.114 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/1.782, allocations: 7.938 kB / 1.114 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.782, allocations: 35.98 kB / 1.114 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.782, allocations: 73.94 kB / 1.114 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/1.784, allocations: 1.187 MB / 1.115 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008501/1.792, allocations: 4.728 MB / 1.12 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.794, allocations: 0.6801 MB / 1.12 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/1.797, allocations: 2.446 MB / 1.123 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.797, allocations: 42.94 kB / 1.123 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 2.806e-06/1.797, allocations: 0 / 1.123 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.006806/1.804, allocations: 3.004 MB / 1.126 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.804, allocations: 162.7 kB / 1.126 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.805, allocations: 0.8443 MB / 1.127 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.805, allocations: 37.7 kB / 1.127 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/1.806, allocations: 459.3 kB / 1.127 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/1.806, allocations: 201.1 kB / 1.127 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/1.806, allocations: 20 kB / 1.127 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.806, allocations: 345.9 kB / 1.128 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/1.807, allocations: 445.7 kB / 1.128 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.807, allocations: 0.6778 MB / 1.129 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/1.808, allocations: 0.5066 MB / 1.129 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.808, allocations: 4 kB / 1.129 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002171/1.81, allocations: 1.508 MB / 1.131 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.2749/2.085, allocations: 2.444 MB / 1.133 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/2.085, allocations: 6.688 kB / 1.133 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/2.087, allocations: 0.5079 MB / 1.134 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/2.088, allocations: 180.7 kB / 1.134 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/2.091, allocations: 2.946 MB / 1.137 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/2.092, allocations: 50.66 kB / 1.137 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/2.092, allocations: 50.66 kB / 1.137 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/2.092, allocations: 4.875 kB / 1.137 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002369/2.094, allocations: 1.372 MB / 1.138 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/2.094, allocations: 9.406 kB / 1.138 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/2.096, allocations: 410.7 kB / 1.139 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/2.096, allocations: 185.8 kB / 1.139 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/2.098, allocations: 2.827 MB / 1.142 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/2.099, allocations: 55.19 kB / 1.142 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/2.099, allocations: 44.44 kB / 1.142 GB, free: 100.9 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.0006174/2.1, allocations: 370.5 kB / 1.142 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/2.1, allocations: 95.12 kB / 1.142 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/2.103, allocations: 1.391 MB / 1.143 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/2.103, allocations: 5.844 kB / 1.143 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.103, allocations: 4.547 kB / 1.143 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/2.103, allocations: 1.922 kB / 1.143 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/2.107, allocations: 2.347 MB / 1.146 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/2.107, allocations: 3.188 kB / 1.146 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/2.107, allocations: 95.47 kB / 1.146 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/2.109, allocations: 0.5025 MB / 1.146 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/2.109, allocations: 25.03 kB / 1.146 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/2.111, allocations: 2.933 MB / 1.149 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.111, allocations: 2.062 kB / 1.149 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/2.113, allocations: 1.779 MB / 1.151 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/2.114, allocations: 309.2 kB / 1.151 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/2.114, allocations: 20.41 kB / 1.151 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/2.115, allocations: 41.83 kB / 1.151 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/2.115, allocations: 61.88 kB / 1.151 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/2.115, allocations: 32.08 kB / 1.151 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009841/2.116, allocations: 0.6545 MB / 1.152 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/2.116, allocations: 0 / 1.152 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002944/2.119, allocations: 0.9043 MB / 1.153 GB, free: 97.14 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.001749/2.121, allocations: 0.8447 MB / 1.154 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003658/2.125, allocations: 1.918 MB / 1.156 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/2.125, allocations: 3.156 kB / 1.156 GB, free: 96.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/2.126, allocations: 0.5752 MB / 1.156 GB, free: 96.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/2.127, allocations: 392.6 kB / 1.157 GB, free: 96.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/2.131, allocations: 2.238 MB / 1.159 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/2.131, allocations: 1.08 MB / 1.16 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001259/2.132, allocations: 427.9 kB / 1.16 GB, free: 95.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/2.133, allocations: 88.12 kB / 1.16 GB, free: 95.14 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/2.133, allocations: 0 / 1.16 GB, free: 95.14 MB / 0.5417 GB Notification: Performance of Templates: time 0.04482/2.177, allocations: 28.05 MB / 1.188 GB, free: 94.39 MB / 0.5417 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