Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 8 kB / 314.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3178, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4433, allocations: 82.51 MB / 451.8 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4435, allocations: 71.91 kB / 451.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.4542, allocations: 2.759 MB / 454.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.799e-06/0.4543, allocations: 0 / 454.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4543, allocations: 4 kB / 454.6 MB, free: 5.25 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006785/0.455, allocations: 431.1 kB / 455 MB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.455, allocations: 19.91 kB / 455.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.4551, allocations: 19.77 kB / 455.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.4554, allocations: 203.1 kB / 455.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.4554, allocations: 16.22 kB / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4555, allocations: 12 kB / 455.3 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.4559, allocations: 139.8 kB / 455.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4559, allocations: 0 / 455.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4559, allocations: 11.98 kB / 455.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4559, allocations: 4 kB / 455.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.4563, allocations: 116.7 kB / 455.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.4575, allocations: 0.5529 MB / 456.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.4578, allocations: 72.7 kB / 456.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4578, allocations: 4 kB / 456.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4579, allocations: 46.58 kB / 456.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.985e-06/0.4579, allocations: 0 / 456.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005136/0.4584, allocations: 125.5 kB / 456.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4585, allocations: 51.41 kB / 456.4 MB, free: 3.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4587, allocations: 129.5 kB / 456.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4587, allocations: 25.7 kB / 456.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4588, allocations: 201.9 kB / 456.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4589, allocations: 23.66 kB / 456.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-06/0.4589, allocations: 0 / 456.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4591, allocations: 314.8 kB / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4592, allocations: 39.91 kB / 457.1 MB, free: 2.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.4594, allocations: 68.2 kB / 457.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.4596, allocations: 43.98 kB / 457.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4596, allocations: 0 / 457.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004035/0.46, allocations: 137.5 kB / 457.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.46, allocations: 8 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-06/0.4601, allocations: 0 / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4601, allocations: 3.953 kB / 457.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4603, allocations: 27.98 kB / 457.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.045e-06/0.4603, allocations: 0 / 457.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4604, allocations: 31.95 kB / 457.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4605, allocations: 4 kB / 457.4 MB, free: 2.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.4606, allocations: 121.8 kB / 457.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.4607, allocations: 7.906 kB / 457.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.4607, allocations: 16.3 kB / 457.6 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-06/0.4608, allocations: 3.953 kB / 457.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4608, allocations: 0 / 457.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-06/0.4608, allocations: 4 kB / 457.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4611, allocations: 209.6 kB / 457.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-06/0.4611, allocations: 4.188 kB / 457.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.4613, allocations: 23.98 kB / 457.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.344e-06/0.4613, allocations: 0 / 457.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-06/0.4613, allocations: 0 / 457.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-06/0.4613, allocations: 0 / 457.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.44e-06/0.4613, allocations: 3.953 kB / 457.8 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4617, allocations: 203.4 kB / 458 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.4618, allocations: 81.02 kB / 458.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4618, allocations: 0 / 458.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.462, allocations: 11.98 kB / 458.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.462, allocations: 4 kB / 458.1 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.4621, allocations: 15.88 kB / 458.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.4622, allocations: 110.5 kB / 458.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.9e-07/0.4622, allocations: 0 / 458.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.4626, allocations: 27.84 kB / 458.3 MB, free: 1.254 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.4627, allocations: 103.2 kB / 458.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.4631, allocations: 83.88 kB / 458.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.154e-06/0.4631, allocations: 0 / 458.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4632, allocations: 36.23 kB / 458.5 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.4635, allocations: 4 kB / 458.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.4642, allocations: 355.3 kB / 458.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.4646, allocations: 0.708 MB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.4646, allocations: 11.44 kB / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.346e-06/0.4647, allocations: 0 / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of Templates: time 0.003307/0.468, allocations: 1.271 MB / 460.8 MB, free: 14.62 MB / 394.7 MB