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.001324/0.001324, allocations: 178.8 kB / 15.76 MB, free: 6.367 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.841/1.841, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001034/0.001034, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3364/0.3364, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 58.86 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.246, allocations: 406.9 MB / 0.8761 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.246, allocations: 95.12 kB / 0.8762 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6996/1.946, allocations: 193.4 MB / 1.065 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/1.946, allocations: 0 / 1.065 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.475e-05/1.946, allocations: 24 kB / 1.065 GB, free: 25.69 MB / 0.4948 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.003908/1.95, allocations: 1.46 MB / 1.066 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.95, allocations: 8.031 kB / 1.066 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/1.95, allocations: 114.8 kB / 1.067 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.952, allocations: 0.7919 MB / 1.067 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.952, allocations: 124.7 kB / 1.067 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.952, allocations: 71.94 kB / 1.068 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/1.954, allocations: 1.195 MB / 1.069 GB, free: 21.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.954, allocations: 3.906 kB / 1.069 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.954, allocations: 31.98 kB / 1.069 GB, free: 21.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-05/1.954, allocations: 77.94 kB / 1.069 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.956, allocations: 1.183 MB / 1.07 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/1.963, allocations: 4.728 MB / 1.075 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.964, allocations: 0.6757 MB / 1.075 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002864/1.967, allocations: 2.45 MB / 1.078 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.967, allocations: 42.94 kB / 1.078 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 1.693e-06/1.967, allocations: 0 / 1.078 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.006357/1.974, allocations: 3.011 MB / 1.081 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.974, allocations: 162.8 kB / 1.081 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.975, allocations: 0.8326 MB / 1.082 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/1.975, allocations: 37.7 kB / 1.082 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.975, allocations: 467.2 kB / 1.082 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.975, allocations: 205.1 kB / 1.082 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/1.975, allocations: 16 kB / 1.082 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/1.975, allocations: 338 kB / 1.083 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/1.976, allocations: 449.7 kB / 1.083 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/1.977, allocations: 0.6739 MB / 1.084 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/1.977, allocations: 0.5105 MB / 1.084 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.977, allocations: 0 / 1.084 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002233/1.98, allocations: 1.519 MB / 1.086 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005341/1.98, allocations: 2.449 MB / 1.088 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.98, allocations: 4.047 kB / 1.088 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/1.982, allocations: 0.5098 MB / 1.089 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/1.983, allocations: 183.7 kB / 1.089 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2922/2.275, allocations: 2.934 MB / 1.092 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/2.276, allocations: 63.44 kB / 1.092 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/2.276, allocations: 42.09 kB / 1.092 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/2.276, allocations: 7.156 kB / 1.092 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/2.279, allocations: 1.363 MB / 1.093 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/2.279, allocations: 8.844 kB / 1.093 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/2.28, allocations: 412.9 kB / 1.093 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/2.281, allocations: 190.3 kB / 1.094 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/2.283, allocations: 2.829 MB / 1.096 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/2.284, allocations: 57.25 kB / 1.096 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/2.284, allocations: 42.36 kB / 1.096 GB, free: 91.56 MB / 0.4948 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.0006641/2.284, allocations: 370.4 kB / 1.097 GB, free: 91.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/2.285, allocations: 100.9 kB / 1.097 GB, free: 91.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/2.287, allocations: 1.394 MB / 1.098 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/2.287, allocations: 3.781 kB / 1.098 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/2.287, allocations: 2.781 kB / 1.098 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/2.287, allocations: 6.516 kB / 1.098 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/2.29, allocations: 2.351 MB / 1.101 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.29, allocations: 3.562 kB / 1.101 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/2.291, allocations: 91.61 kB / 1.101 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/2.293, allocations: 0.5098 MB / 1.101 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/2.293, allocations: 16.33 kB / 1.101 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/2.295, allocations: 2.922 MB / 1.104 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.295, allocations: 1.312 kB / 1.104 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/2.298, allocations: 1.783 MB / 1.106 GB, free: 88.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/2.298, allocations: 309.3 kB / 1.106 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/2.298, allocations: 12.86 kB / 1.106 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/2.299, allocations: 43.58 kB / 1.106 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/2.299, allocations: 56.31 kB / 1.106 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/2.299, allocations: 31.53 kB / 1.106 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009668/2.3, allocations: 0.6669 MB / 1.107 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/2.3, allocations: 0 / 1.107 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003038/2.303, allocations: 0.8952 MB / 1.108 GB, free: 87.84 MB / 0.4948 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.002074/2.305, allocations: 0.844 MB / 1.109 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004082/2.309, allocations: 1.916 MB / 1.11 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.309, allocations: 5.125 kB / 1.11 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/2.311, allocations: 0.5718 MB / 1.111 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/2.313, allocations: 384.7 kB / 1.111 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/2.317, allocations: 2.232 MB / 1.114 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/2.318, allocations: 1.082 MB / 1.115 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001763/2.32, allocations: 426.2 kB / 1.115 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/2.32, allocations: 89.69 kB / 1.115 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/2.32, allocations: 0 / 1.115 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.03893/2.359, allocations: 28.07 MB / 1.143 GB, free: 84.92 MB / 0.4948 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/jenkins/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