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.001088/0.001088, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008407/0.0008406, allocations: 91.58 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.002e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09852, allocations: 63.24 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.843/0.9416, allocations: 408.7 MB / 0.9105 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.9418, allocations: 83.39 kB / 0.9105 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6127/1.555, allocations: 195.8 MB / 1.102 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/1.555, allocations: 4.219 kB / 1.102 GB, free: 55.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.25e-05/1.555, allocations: 27.92 kB / 1.102 GB, free: 55.14 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.003351/1.558, allocations: 1.347 MB / 1.103 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.558, allocations: 12.03 kB / 1.103 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006086/1.559, allocations: 114.8 kB / 1.103 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.56, allocations: 0.7881 MB / 1.104 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/1.56, allocations: 120.6 kB / 1.104 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.561, allocations: 67.97 kB / 1.104 GB, free: 52.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/1.562, allocations: 1.195 MB / 1.105 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.562, allocations: 0 / 1.105 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.562, allocations: 27.98 kB / 1.105 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.686e-05/1.562, allocations: 73.95 kB / 1.105 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/1.564, allocations: 1.167 MB / 1.107 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/1.57, allocations: 4.728 MB / 1.111 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/1.571, allocations: 0.6762 MB / 1.112 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/1.572, allocations: 419.8 kB / 1.112 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002616/1.574, allocations: 2.477 MB / 1.115 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.575, allocations: 46.94 kB / 1.115 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 1.673e-06/1.575, allocations: 0 / 1.115 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.004142/1.579, allocations: 2.357 MB / 1.117 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.579, allocations: 162.8 kB / 1.117 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/1.58, allocations: 0.8288 MB / 1.118 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/1.58, allocations: 37.7 kB / 1.118 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/1.58, allocations: 463.2 kB / 1.118 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.58, allocations: 205.1 kB / 1.119 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/1.58, allocations: 16 kB / 1.119 GB, free: 37.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/1.58, allocations: 345.9 kB / 1.119 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/1.581, allocations: 437.8 kB / 1.119 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/1.581, allocations: 0.6621 MB / 1.12 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/1.582, allocations: 0.5089 MB / 1.121 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.582, allocations: 4 kB / 1.121 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001944/1.584, allocations: 1.482 MB / 1.122 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/1.584, allocations: 2.441 MB / 1.124 GB, free: 30.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.584, allocations: 7.938 kB / 1.124 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/1.586, allocations: 0.5021 MB / 1.125 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/1.586, allocations: 187.6 kB / 1.125 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/1.588, allocations: 2.931 MB / 1.128 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008557/1.589, allocations: 59.92 kB / 1.128 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/1.589, allocations: 43.98 kB / 1.128 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/1.589, allocations: 4 kB / 1.128 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001904/1.591, allocations: 1.349 MB / 1.129 GB, free: 25.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.591, allocations: 8 kB / 1.129 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008546/1.592, allocations: 402.4 kB / 1.13 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/1.593, allocations: 191.7 kB / 1.13 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/1.594, allocations: 2.806 MB / 1.133 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/1.595, allocations: 56.06 kB / 1.133 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.595, allocations: 44.09 kB / 1.133 GB, free: 21.91 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.000208/1.595, allocations: 164.6 kB / 1.133 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.595, allocations: 102.8 kB / 1.133 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.597, allocations: 1.388 MB / 1.134 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/1.597, allocations: 8 kB / 1.134 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.597, allocations: 0 / 1.134 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.597, allocations: 3.984 kB / 1.134 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/1.6, allocations: 2.338 MB / 1.137 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.6, allocations: 0 / 1.137 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/1.601, allocations: 95.88 kB / 1.137 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/1.602, allocations: 0.4942 MB / 1.137 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/1.602, allocations: 19.98 kB / 1.137 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/1.603, allocations: 2.915 MB / 1.14 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.604, allocations: 4.031 kB / 1.14 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/1.605, allocations: 1.769 MB / 1.142 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/1.606, allocations: 303.8 kB / 1.142 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.606, allocations: 16.02 kB / 1.142 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/1.607, allocations: 47.91 kB / 1.142 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.607, allocations: 56.47 kB / 1.142 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.607, allocations: 35.97 kB / 1.142 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006714/1.608, allocations: 0.652 MB / 1.143 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.608, allocations: 0 / 1.143 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002157/1.61, allocations: 0.8976 MB / 1.144 GB, free: 10.18 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.001906/1.612, allocations: 0.8489 MB / 1.145 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003101/1.615, allocations: 1.904 MB / 1.146 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.615, allocations: 4.312 kB / 1.146 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008951/1.616, allocations: 0.5756 MB / 1.147 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.617, allocations: 397 kB / 1.147 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/1.62, allocations: 1.482 MB / 1.149 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/1.62, allocations: 1.075 MB / 1.15 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001395/1.622, allocations: 0.4912 MB / 1.15 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/1.622, allocations: 79.41 kB / 1.15 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/1.622, allocations: 0 / 1.15 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of Templates: time 0.3184/1.941, allocations: 29.76 MB / 1.18 GB, free: 105.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