Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008993, allocations: 81.86 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1809/0.1809, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.717e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4153/0.5544, allocations: 85.7 MB / 0.5784 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5548, allocations: 67.97 kB / 0.5784 GB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.5805, allocations: 8.271 MB / 0.5865 GB, free: 2.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5805, allocations: 0 / 0.5865 GB, free: 2.473 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5806, allocations: 0 / 0.5865 GB, free: 2.473 MB / 394.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.0003848/0.5809, allocations: 356.9 kB / 0.5868 GB, free: 2.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.581, allocations: 11.98 kB / 0.5869 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.5811, allocations: 0 / 0.5869 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.5812, allocations: 163.1 kB / 0.587 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5812, allocations: 0 / 0.587 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5813, allocations: 3.953 kB / 0.587 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.724e-05/0.5813, allocations: 7.984 kB / 0.587 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.5814, allocations: 33.64 kB / 0.587 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5814, allocations: 4 kB / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5815, allocations: 0 / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5815, allocations: 0 / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.5816, allocations: 134.2 kB / 0.5872 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.714e-05/0.5817, allocations: 14.58 kB / 0.5872 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.5817, allocations: 8.953 kB / 0.5872 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5817, allocations: 0 / 0.5872 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5818, allocations: 38.52 kB / 0.5872 GB, free: 1.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.5818, allocations: 0 / 0.5872 GB, free: 1.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000158/0.5819, allocations: 41.62 kB / 0.5873 GB, free: 1.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.582, allocations: 51.41 kB / 0.5873 GB, free: 1.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.5821, allocations: 93 kB / 0.5874 GB, free: 1.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.5821, allocations: 25.7 kB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.5821, allocations: 80.14 kB / 0.5875 GB, free: 1.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5822, allocations: 0 / 0.5875 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.5822, allocations: 4.156 kB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.5823, allocations: 310.8 kB / 0.5878 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.5823, allocations: 4.75 kB / 0.5878 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.5823, allocations: 0 / 0.5878 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.5823, allocations: 7.938 kB / 0.5878 GB, free: 0.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5824, allocations: 3.984 kB / 0.5878 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.672e-05/0.5824, allocations: 37.61 kB / 0.5879 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.5824, allocations: 4 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5825, allocations: 0 / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5825, allocations: 8.047 kB / 0.5879 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.5825, allocations: 3.938 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5825, allocations: 4 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.5825, allocations: 0 / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5825, allocations: 7.938 kB / 0.5879 GB, free: 0.8438 MB / 394.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 6.201e-05/0.5826, allocations: 101 kB / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.5826, allocations: 0 / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.5827, allocations: 53.39 kB / 0.588 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5828, allocations: 0 / 0.588 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5828, allocations: 3.953 kB / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5828, allocations: 0 / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.287e-05/0.5828, allocations: 126.2 kB / 0.5882 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5829, allocations: 4 kB / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5829, allocations: 0 / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5829, allocations: 0 / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.5829, allocations: 0 / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5829, allocations: 0 / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5829, allocations: 4.031 kB / 0.5882 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.133e-05/0.583, allocations: 73.02 kB / 0.5882 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.583, allocations: 77.11 kB / 0.5883 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.583, allocations: 0 / 0.5883 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.5831, allocations: 4 kB / 0.5883 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.5831, allocations: 4 kB / 0.5883 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.5831, allocations: 3.984 kB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.5831, allocations: 79.31 kB / 0.5884 GB, free: 240 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5831, allocations: 0 / 0.5884 GB, free: 240 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.5834, allocations: 51.94 kB / 0.5885 GB, free: 188 kB / 394.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.0002505/0.5837, allocations: 147.1 kB / 0.5886 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.5838, allocations: 29.7 kB / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5838, allocations: 3.938 kB / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.5838, allocations: 29.7 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.685e-05/0.5839, allocations: 8.156 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.5841, allocations: 56 kB / 0.5887 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.5843, allocations: 0.6729 MB / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.057e-05/0.5843, allocations: 0 / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.5844, allocations: 7.438 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5844, allocations: 0 / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002567/0.5869, allocations: 0.8396 MB / 0.5902 GB, free: 14.32 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches