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.301/2.301, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.619e-05, allocations: 11.98 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 54.86 MB / 364.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4508, allocations: 82.43 MB / 447 MB, free: 14.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.451, allocations: 63.97 kB / 447 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.4622, allocations: 2.748 MB / 449.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.807e-06/0.4623, allocations: 0 / 449.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4623, allocations: 8 kB / 449.8 MB, free: 11.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.0006652/0.463, allocations: 414.3 kB / 450.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.463, allocations: 12.03 kB / 450.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.4631, allocations: 11.86 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4634, allocations: 203.1 kB / 450.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4634, allocations: 12.84 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4635, allocations: 16 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.4638, allocations: 119.8 kB / 450.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4638, allocations: 4 kB / 450.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4638, allocations: 4 kB / 450.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4639, allocations: 4 kB / 450.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.4641, allocations: 85.77 kB / 450.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4653, allocations: 0.5627 MB / 451.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.4655, allocations: 62.58 kB / 451.3 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.4656, allocations: 16.98 kB / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4657, allocations: 7.953 kB / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4657, allocations: 30.56 kB / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.93e-06/0.4657, allocations: 0 / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000223/0.4659, allocations: 65.59 kB / 451.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.466, allocations: 55.34 kB / 451.4 MB, free: 9.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4662, allocations: 139.8 kB / 451.6 MB, free: 9.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4662, allocations: 25.7 kB / 451.6 MB, free: 9.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4664, allocations: 203.3 kB / 451.8 MB, free: 9.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4664, allocations: 23.8 kB / 451.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-06/0.4664, allocations: 0 / 451.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4666, allocations: 314.8 kB / 452.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.4667, allocations: 16 kB / 452.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.4668, allocations: 52.92 kB / 452.2 MB, free: 8.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.4669, allocations: 27.98 kB / 452.2 MB, free: 8.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-06/0.4669, allocations: 0 / 452.2 MB, free: 8.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002645/0.4672, allocations: 97.55 kB / 452.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4672, allocations: 13.83 kB / 452.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.23e-06/0.4672, allocations: 0 / 452.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4672, allocations: 4 kB / 452.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4674, allocations: 28.11 kB / 452.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4675, allocations: 7.938 kB / 452.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4676, allocations: 19.83 kB / 452.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4676, allocations: 11.94 kB / 452.4 MB, free: 8.383 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 () * 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 9.098e-05/0.4677, allocations: 101 kB / 452.5 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.4678, allocations: 7.906 kB / 452.5 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.4679, allocations: 16.05 kB / 452.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-06/0.4679, allocations: 0 / 452.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-06/0.4679, allocations: 4 kB / 452.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-06/0.4679, allocations: 3.984 kB / 452.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4682, allocations: 205.6 kB / 452.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-06/0.4682, allocations: 0 / 452.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4684, allocations: 19.98 kB / 452.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4684, allocations: 0 / 452.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4684, allocations: 0 / 452.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.881e-06/0.4684, allocations: 7.891 kB / 452.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.598e-06/0.4684, allocations: 7.984 kB / 452.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.4687, allocations: 159.5 kB / 452.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.4688, allocations: 93.08 kB / 453 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.4688, allocations: 7.984 kB / 453 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.469, allocations: 8 kB / 453 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.469, allocations: 7.938 kB / 453 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.469, allocations: 0 / 453 MB, free: 7.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.4692, allocations: 115.8 kB / 453.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.4692, allocations: 0 / 453.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000365/0.4695, allocations: 27.91 kB / 453.2 MB, free: 7.508 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 (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.00014/0.4697, allocations: 99.25 kB / 453.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4699, allocations: 48.64 kB / 453.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.026e-06/0.4699, allocations: 256 / 453.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.47, allocations: 23.94 kB / 453.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4702, allocations: 5.375 kB / 453.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.4707, allocations: 165.7 kB / 453.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.4712, allocations: 0.708 MB / 454.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.4712, allocations: 11.44 kB / 454.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.557e-06/0.4712, allocations: 4 kB / 454.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of Templates: time 0.003376/0.4746, allocations: 1.26 MB / 455.5 MB, free: 5.137 MB / 378.7 MB