Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, 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.222/1.222, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009019/0.0009019, allocations: 98.19 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1684/0.1684, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.368e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.0944, allocations: 63.24 MB / 0.5114 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.4273, allocations: 87.43 MB / 0.5967 GB, free: 6.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.4275, allocations: 68.16 kB / 0.5968 GB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0242/0.4517, allocations: 8.362 MB / 0.605 GB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4517, allocations: 0 / 0.605 GB, free: 15.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4517, allocations: 0 / 0.605 GB, free: 15.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002969/0.452, allocations: 340 kB / 0.6053 GB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4521, allocations: 15.97 kB / 0.6053 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.4521, allocations: 4 kB / 0.6053 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.4522, allocations: 167 kB / 0.6055 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.4522, allocations: 0 / 0.6055 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.4523, allocations: 0 / 0.6055 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.4523, allocations: 37.62 kB / 0.6055 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4524, allocations: 3.984 kB / 0.6055 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4524, allocations: 4 kB / 0.6055 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4524, allocations: 0 / 0.6055 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.4524, allocations: 0 / 0.6055 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4525, allocations: 160.9 kB / 0.6057 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.031e-05/0.4526, allocations: 17.77 kB / 0.6057 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.4526, allocations: 12.92 kB / 0.6057 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4526, allocations: 0 / 0.6057 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4526, allocations: 30.56 kB / 0.6057 GB, free: 14.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4527, allocations: 3.938 kB / 0.6057 GB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.4528, allocations: 33.7 kB / 0.6058 GB, free: 14.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.4528, allocations: 55.44 kB / 0.6058 GB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.4529, allocations: 91.81 kB / 0.6059 GB, free: 14.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4529, allocations: 25.7 kB / 0.6059 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.4529, allocations: 88.06 kB / 0.606 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.4529, allocations: 0 / 0.606 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.453, allocations: 0 / 0.606 GB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.453, allocations: 318 kB / 0.6063 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.4531, allocations: 8.125 kB / 0.6063 GB, free: 13.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.4531, allocations: 0 / 0.6063 GB, free: 13.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.477e-05/0.4531, allocations: 4 kB / 0.6063 GB, free: 13.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4531, allocations: 0 / 0.6063 GB, free: 13.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.547e-05/0.4532, allocations: 37.55 kB / 0.6064 GB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4532, allocations: 11.94 kB / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4532, allocations: 3.984 kB / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4532, allocations: 0 / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4532, allocations: 0 / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4532, allocations: 96 / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.4533, allocations: 4 kB / 0.6064 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4533, allocations: 4 kB / 0.6064 GB, free: 13.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.4533, allocations: 106.6 kB / 0.6065 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.4533, allocations: 0 / 0.6065 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4534, allocations: 51.83 kB / 0.6065 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4535, allocations: 0 / 0.6065 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4535, allocations: 4.031 kB / 0.6065 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4535, allocations: 0 / 0.6065 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.817e-05/0.4536, allocations: 157.4 kB / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4536, allocations: 0 / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.4536, allocations: 0 / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4536, allocations: 4 kB / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.4536, allocations: 0 / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4536, allocations: 0 / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4536, allocations: 0 / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.102e-05/0.4537, allocations: 60.2 kB / 0.6068 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.4537, allocations: 85.05 kB / 0.6068 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.4537, allocations: 0 / 0.6068 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.4538, allocations: 4 kB / 0.6068 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.4538, allocations: 0 / 0.6068 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4538, allocations: 0 / 0.6068 GB, free: 13.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.4538, allocations: 79.28 kB / 0.6069 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4538, allocations: 8 kB / 0.6069 GB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.4541, allocations: 55.92 kB / 0.607 GB, free: 12.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000253/0.4544, allocations: 142.3 kB / 0.6071 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.4544, allocations: 29.7 kB / 0.6071 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4544, allocations: 0 / 0.6071 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.4545, allocations: 33.02 kB / 0.6072 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.512e-05/0.4546, allocations: 5.844 kB / 0.6072 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.4547, allocations: 57.06 kB / 0.6072 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.4549, allocations: 0.677 MB / 0.6079 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.132e-05/0.455, allocations: 0 / 0.6079 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-06/0.455, allocations: 7.438 kB / 0.6079 GB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.455, allocations: 0 / 0.6079 GB, free: 11.88 MB / 410.7 MB Notification: Performance of Templates: time 0.00253/0.4575, allocations: 0.856 MB / 0.6087 GB, free: 11.04 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches