Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.678e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4159, allocations: 79.75 MB / 437.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4161, allocations: 71.95 kB / 437.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06062/0.4768, allocations: 8.179 MB / 446 MB, free: 6.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.055e-06/0.4769, allocations: 0 / 446 MB, free: 6.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4769, allocations: 0 / 446 MB, free: 6.824 MB / 378.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.0006784/0.4776, allocations: 334.5 kB / 446.4 MB, free: 6.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/0.4777, allocations: 8.031 kB / 446.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.4778, allocations: 11.86 kB / 446.4 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4781, allocations: 159.1 kB / 446.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.4781, allocations: 3.984 kB / 446.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4781, allocations: 4 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.428e-05/0.4782, allocations: 7.938 kB / 446.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4784, allocations: 33.64 kB / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4784, allocations: 0 / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.4784, allocations: 0 / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4785, allocations: 7.953 kB / 446.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.4788, allocations: 126.2 kB / 446.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.4789, allocations: 18.61 kB / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.4789, allocations: 8.859 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.479, allocations: 0 / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.4791, allocations: 34.62 kB / 446.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.639e-06/0.4791, allocations: 0 / 446.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003192/0.4794, allocations: 37.64 kB / 446.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.4795, allocations: 51.41 kB / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.4797, allocations: 93.03 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.4797, allocations: 25.7 kB / 447 MB, free: 5.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4799, allocations: 154.5 kB / 447.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.48, allocations: 3.938 kB / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-06/0.48, allocations: 0 / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.4803, allocations: 314.8 kB / 447.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.4803, allocations: 4 kB / 447.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.4804, allocations: 4 kB / 447.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.4805, allocations: 7.938 kB / 447.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-06/0.4805, allocations: 4.188 kB / 447.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002147/0.4807, allocations: 33.7 kB / 447.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4808, allocations: 4 kB / 447.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.4808, allocations: 0 / 447.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.4809, allocations: 3.984 kB / 447.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-06/0.4809, allocations: 7.938 kB / 447.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.168e-06/0.4809, allocations: 0 / 447.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.481, allocations: 3.984 kB / 447.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.481, allocations: 0 / 447.5 MB, free: 5.148 MB / 378.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 0.0001592/0.4812, allocations: 110.7 kB / 447.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4813, allocations: 4 kB / 447.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.4816, allocations: 49.3 kB / 447.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.338e-06/0.4816, allocations: 0 / 447.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4816, allocations: 0 / 447.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4817, allocations: 0 / 447.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4819, allocations: 134.2 kB / 447.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4819, allocations: 0 / 447.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.482, allocations: 8.016 kB / 447.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.757e-06/0.482, allocations: 0 / 447.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.482, allocations: 4 kB / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.972e-06/0.482, allocations: 3.938 kB / 447.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4821, allocations: 0 / 447.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4823, allocations: 61.08 kB / 447.9 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.4824, allocations: 81.06 kB / 447.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4825, allocations: 4.016 kB / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4826, allocations: 8 kB / 448 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.4827, allocations: 4 kB / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.4827, allocations: 0 / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.4828, allocations: 75.28 kB / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.44e-06/0.4828, allocations: 0 / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008914/0.4837, allocations: 47.94 kB / 448.1 MB, free: 4.484 MB / 378.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.0007191/0.4845, allocations: 151.1 kB / 448.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.4847, allocations: 37.8 kB / 448.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.283e-06/0.4847, allocations: 3.938 kB / 448.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.4848, allocations: 33.64 kB / 448.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4851, allocations: 0 / 448.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.4855, allocations: 73.77 kB / 448.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.4861, allocations: 0.6768 MB / 449.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.4862, allocations: 7.438 kB / 449.1 MB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 2.046e-06/0.4862, allocations: 0 / 449.1 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Templates: time 0.005914/0.4921, allocations: 1.005 MB / 450.1 MB, free: 2.422 MB / 378.7 MB