Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 175.8 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007514/0.0007513, allocations: 85.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3273/0.3273, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.223, allocations: 407 MB / 0.8774 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.223, allocations: 88.95 kB / 0.8775 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.524/1.747, allocations: 191.9 MB / 1.065 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/1.747, allocations: 0 / 1.065 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001129/1.747, allocations: 31.98 kB / 1.065 GB, free: 24.88 MB / 0.5105 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.004589/1.752, allocations: 1.446 MB / 1.066 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.752, allocations: 15.91 kB / 1.066 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/1.753, allocations: 119.7 kB / 1.066 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/1.755, allocations: 0.813 MB / 1.067 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/1.755, allocations: 116.7 kB / 1.067 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/1.755, allocations: 71.92 kB / 1.067 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.757, allocations: 1.203 MB / 1.069 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.757, allocations: 0 / 1.069 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.758, allocations: 31.98 kB / 1.069 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/1.758, allocations: 77.94 kB / 1.069 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/1.759, allocations: 1.187 MB / 1.07 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008139/1.768, allocations: 4.669 MB / 1.074 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.769, allocations: 0.6837 MB / 1.075 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/1.769, allocations: 434.2 kB / 1.076 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002924/1.772, allocations: 2.403 MB / 1.078 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.772, allocations: 46.94 kB / 1.078 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/1.772, allocations: 0 / 1.078 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.006532/1.779, allocations: 3.026 MB / 1.081 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.779, allocations: 174.7 kB / 1.081 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.78, allocations: 0.9311 MB / 1.082 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/1.78, allocations: 37.7 kB / 1.082 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/1.781, allocations: 459.2 kB / 1.082 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/1.781, allocations: 209.1 kB / 1.083 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/1.781, allocations: 19.94 kB / 1.083 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/1.781, allocations: 341.9 kB / 1.083 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/1.781, allocations: 445.7 kB / 1.083 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/1.782, allocations: 0.6779 MB / 1.084 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/1.783, allocations: 1.041 MB / 1.085 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.783, allocations: 7.938 kB / 1.085 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002181/1.786, allocations: 1.503 MB / 1.087 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.786, allocations: 277 kB / 1.087 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.786, allocations: 4 kB / 1.087 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/1.787, allocations: 0.5177 MB / 1.087 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/1.788, allocations: 179.7 kB / 1.087 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.291/2.079, allocations: 2.936 MB / 1.09 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/2.081, allocations: 57.05 kB / 1.09 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/2.081, allocations: 46.95 kB / 1.09 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/2.081, allocations: 4.531 kB / 1.09 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002727/2.083, allocations: 1.373 MB / 1.092 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/2.084, allocations: 6.328 kB / 1.092 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/2.085, allocations: 412 kB / 1.092 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/2.085, allocations: 193.2 kB / 1.092 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/2.087, allocations: 2.817 MB / 1.095 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/2.089, allocations: 53.77 kB / 1.095 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/2.089, allocations: 45.09 kB / 1.095 GB, free: 93.98 MB / 0.5105 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.0007188/2.089, allocations: 367.8 kB / 1.096 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/2.09, allocations: 100.4 kB / 1.096 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/2.092, allocations: 1.392 MB / 1.097 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/2.092, allocations: 9.031 kB / 1.097 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.092, allocations: 1.25 kB / 1.097 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/2.092, allocations: 3.656 kB / 1.097 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/2.096, allocations: 2.334 MB / 1.099 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/2.096, allocations: 5.562 kB / 1.099 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/2.096, allocations: 91.39 kB / 1.099 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/2.098, allocations: 0.509 MB / 1.1 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/2.098, allocations: 17.53 kB / 1.1 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/2.1, allocations: 2.925 MB / 1.103 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/2.1, allocations: 0 / 1.103 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/2.102, allocations: 1.757 MB / 1.105 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/2.103, allocations: 301.5 kB / 1.105 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/2.103, allocations: 13.81 kB / 1.105 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/2.104, allocations: 43.95 kB / 1.105 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/2.104, allocations: 55.52 kB / 1.105 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/2.104, allocations: 31.91 kB / 1.105 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009011/2.105, allocations: 0.6591 MB / 1.106 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.105, allocations: 0 / 1.106 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003123/2.108, allocations: 0.8911 MB / 1.106 GB, free: 90.36 MB / 0.5105 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.002141/2.11, allocations: 0.846 MB / 1.107 GB, free: 90.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003688/2.114, allocations: 1.921 MB / 1.109 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/2.114, allocations: 0 / 1.109 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/2.115, allocations: 0.5748 MB / 1.11 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/2.118, allocations: 403.4 kB / 1.11 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/2.121, allocations: 2.233 MB / 1.112 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/2.122, allocations: 1.061 MB / 1.113 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001526/2.123, allocations: 422.1 kB / 1.114 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/2.124, allocations: 95.92 kB / 1.114 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/2.124, allocations: 0 / 1.114 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.04979/2.174, allocations: 28.86 MB / 1.142 GB, free: 87.51 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches