Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 8 kB / 314.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 54.86 MB / 369.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4945, allocations: 79.69 MB / 449.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4948, allocations: 63.97 kB / 449.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008292/0.5031, allocations: 1.948 MB / 451.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5032, allocations: 0 / 451.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.5032, allocations: 0 / 451.5 MB, free: 8.953 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.0003639/0.5036, allocations: 372 kB / 451.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5036, allocations: 11.97 kB / 451.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.5037, allocations: 3.953 kB / 451.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5038, allocations: 163.1 kB / 452 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5038, allocations: 3.938 kB / 452 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.5038, allocations: 4 kB / 452 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.5039, allocations: 29.69 kB / 452.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5039, allocations: 0 / 452.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.504, allocations: 0 / 452.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.504, allocations: 4 kB / 452.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.504, allocations: 7.891 kB / 452.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.5042, allocations: 141.7 kB / 452.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.5042, allocations: 30.55 kB / 452.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.5042, allocations: 0 / 452.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.5043, allocations: 60.25 kB / 452.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.5043, allocations: 0 / 452.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.5045, allocations: 63.38 kB / 452.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.5046, allocations: 77.11 kB / 452.4 MB, free: 7.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.5046, allocations: 89.98 kB / 452.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.5046, allocations: 33.7 kB / 452.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.5047, allocations: 154.6 kB / 452.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.5047, allocations: 3.984 kB / 452.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.5047, allocations: 0 / 452.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5049, allocations: 317 kB / 453 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.5049, allocations: 0 / 453 MB, free: 7.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-06/0.5049, allocations: 3.938 kB / 453 MB, free: 7.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.505, allocations: 29.7 kB / 453.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.505, allocations: 4.062 kB / 453.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.493e-05/0.5051, allocations: 59.41 kB / 453.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5051, allocations: 37.69 kB / 453.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5051, allocations: 0 / 453.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5052, allocations: 3.984 kB / 453.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5052, allocations: 0 / 453.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5052, allocations: 0 / 453.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.5052, allocations: 4 kB / 453.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5052, allocations: 0 / 453.2 MB, free: 7.027 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 9.616e-05/0.5053, allocations: 139.5 kB / 453.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.5054, allocations: 4 kB / 453.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.5054, allocations: 3.125 kB / 453.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5054, allocations: 0 / 453.3 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5054, allocations: 3.984 kB / 453.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5054, allocations: 0 / 453.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5055, allocations: 145.6 kB / 453.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.5055, allocations: 11.94 kB / 453.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.5056, allocations: 3.938 kB / 453.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5056, allocations: 0 / 453.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5056, allocations: 7.938 kB / 453.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5056, allocations: 0 / 453.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5056, allocations: 0 / 453.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.5057, allocations: 94.78 kB / 453.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5058, allocations: 77.11 kB / 453.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.5058, allocations: 0 / 453.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.5058, allocations: 3.984 kB / 453.6 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.5059, allocations: 8 kB / 453.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5059, allocations: 4.031 kB / 453.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.5059, allocations: 75.28 kB / 453.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5059, allocations: 0 / 453.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.5063, allocations: 43.98 kB / 453.8 MB, free: 6.305 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0005889/0.5069, allocations: 234.1 kB / 454 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.507, allocations: 63.33 kB / 454.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.507, allocations: 0 / 454.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.5071, allocations: 55.41 kB / 454.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.5072, allocations: 3.953 kB / 454.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.5074, allocations: 112.6 kB / 454.2 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5077, allocations: 0.6692 MB / 454.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.5077, allocations: 11.44 kB / 454.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5077, allocations: 0 / 454.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of Templates: time 0.003643/0.5114, allocations: 1.078 MB / 456 MB, free: 4.023 MB / 378.7 MB