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/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.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.266/2.266, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.971e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4128, allocations: 81.76 MB / 439.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.413, allocations: 63.97 kB / 439.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.4234, allocations: 2.72 MB / 442.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.972e-06/0.4235, allocations: 0 / 442.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4235, allocations: 8 kB / 442.6 MB, free: 10.28 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.0006399/0.4242, allocations: 423 kB / 443 MB, free: 9.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4242, allocations: 15.97 kB / 443 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.4243, allocations: 19.77 kB / 443 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.4246, allocations: 195.2 kB / 443.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4246, allocations: 11.94 kB / 443.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.4246, allocations: 8 kB / 443.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002363/0.4249, allocations: 76.5 kB / 443.3 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4251, allocations: 95.64 kB / 443.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4252, allocations: 0 / 443.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4252, allocations: 0 / 443.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4252, allocations: 11.94 kB / 443.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4263, allocations: 0.5192 MB / 443.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4265, allocations: 54.64 kB / 444 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4266, allocations: 16.98 kB / 444 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4266, allocations: 8 kB / 444 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4266, allocations: 30.56 kB / 444 MB, free: 8.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.4266, allocations: 0 / 444 MB, free: 8.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002071/0.4269, allocations: 61.5 kB / 444.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4269, allocations: 55.41 kB / 444.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4271, allocations: 127.4 kB / 444.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4271, allocations: 25.7 kB / 444.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4273, allocations: 198 kB / 444.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.4273, allocations: 27.64 kB / 444.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-06/0.4273, allocations: 0 / 444.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4275, allocations: 314.8 kB / 444.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.4275, allocations: 16 kB / 444.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.4276, allocations: 46.34 kB / 444.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.4277, allocations: 27.92 kB / 444.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4277, allocations: 0 / 444.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002035/0.4279, allocations: 77.62 kB / 445 MB, free: 7.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.428, allocations: 8 kB / 445 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-06/0.428, allocations: 3.953 kB / 445 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.428, allocations: 7.938 kB / 445 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.4282, allocations: 31.97 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.092e-06/0.4283, allocations: 8.125 kB / 445.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.4284, allocations: 15.91 kB / 445.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4284, allocations: 8 kB / 445.1 MB, free: 7.547 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.339e-05/0.4285, allocations: 105 kB / 445.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.4286, allocations: 7.906 kB / 445.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.4286, allocations: 8.406 kB / 445.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-06/0.4286, allocations: 7.953 kB / 445.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4287, allocations: 4 kB / 445.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-06/0.4287, allocations: 0 / 445.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.4289, allocations: 182.1 kB / 445.4 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-06/0.429, allocations: 0 / 445.4 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4291, allocations: 15.98 kB / 445.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.471e-06/0.4291, allocations: 0 / 445.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4291, allocations: 4 kB / 445.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.4291, allocations: 3.938 kB / 445.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-06/0.4292, allocations: 0 / 445.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.4294, allocations: 163.3 kB / 445.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.4294, allocations: 85.02 kB / 445.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4295, allocations: 0 / 445.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4296, allocations: 11.98 kB / 445.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.4297, allocations: 7.984 kB / 445.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-06/0.4297, allocations: 0 / 445.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.4298, allocations: 106.5 kB / 445.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4298, allocations: 4 kB / 445.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.4302, allocations: 23.91 kB / 445.8 MB, free: 6.746 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.0001452/0.4303, allocations: 103.2 kB / 445.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.4305, allocations: 39.94 kB / 446 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.39e-06/0.4305, allocations: 0 / 446 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.4306, allocations: 16 kB / 446 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4308, allocations: 8.25 kB / 446 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.4313, allocations: 174.3 kB / 446.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.4317, allocations: 0.708 MB / 446.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.4318, allocations: 11.44 kB / 446.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.384e-06/0.4318, allocations: 0 / 446.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of Templates: time 0.003309/0.4351, allocations: 1.246 MB / 448.1 MB, free: 4.387 MB / 378.7 MB