Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002764/0.002764, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.138/4.138, allocations: 388.9 MB / 405.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003636/0.003636, allocations: 223.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5523/0.5523, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006816/0.0006819, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1211, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5944, allocations: 82.51 MB / 0.7607 GB, free: 2.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5947, allocations: 67.09 kB / 0.7607 GB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.6057, allocations: 2.772 MB / 0.7634 GB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6058, allocations: 0 / 0.7634 GB, free: 452 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.6058, allocations: 0 / 0.7634 GB, free: 452 kB / 346.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.0007237/0.6066, allocations: 433.6 kB / 0.7639 GB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6066, allocations: 12.03 kB / 0.7639 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.6067, allocations: 15.77 kB / 0.7639 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.607, allocations: 206.4 kB / 0.7641 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6071, allocations: 7.344 kB / 0.7641 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.6071, allocations: 19.92 kB / 0.7641 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.6076, allocations: 142 kB / 0.7642 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6076, allocations: 0 / 0.7642 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6077, allocations: 7.5 kB / 0.7642 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.6077, allocations: 4 kB / 0.7642 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.6082, allocations: 120.5 kB / 0.7644 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.6095, allocations: 0.5468 MB / 0.7649 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.6099, allocations: 83.48 kB / 0.765 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.6101, allocations: 32.47 kB / 0.765 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.6102, allocations: 0 / 0.765 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6102, allocations: 41.89 kB / 0.765 GB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.6102, allocations: 0 / 0.765 GB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006834/0.6109, allocations: 126.9 kB / 0.7652 GB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.611, allocations: 59.41 kB / 0.7652 GB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6112, allocations: 158.8 kB / 0.7654 GB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.6112, allocations: 25.7 kB / 0.7654 GB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.6113, allocations: 136.7 kB / 0.7655 GB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.6114, allocations: 11.75 kB / 0.7655 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.6114, allocations: 7.375 kB / 0.7655 GB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6115, allocations: 318.6 kB / 0.7659 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.6117, allocations: 36.34 kB / 0.7659 GB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.612, allocations: 65.08 kB / 0.766 GB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.6122, allocations: 40.23 kB / 0.766 GB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6122, allocations: 0 / 0.766 GB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005512/0.6128, allocations: 147.9 kB / 0.7661 GB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6128, allocations: 7.953 kB / 0.7661 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6129, allocations: 4 kB / 0.7661 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6129, allocations: 0 / 0.7661 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.6132, allocations: 33.17 kB / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6132, allocations: 0 / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.6134, allocations: 20.95 kB / 0.7662 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.6134, allocations: 9.062 kB / 0.7662 GB, free: 13.64 MB / 362.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.0001549/0.6136, allocations: 121.6 kB / 0.7663 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.6136, allocations: 12.52 kB / 0.7663 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.6137, allocations: 11.95 kB / 0.7663 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6137, allocations: 4 kB / 0.7663 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6137, allocations: 0 / 0.7663 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.6137, allocations: 7.922 kB / 0.7664 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.6141, allocations: 201.1 kB / 0.7665 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6141, allocations: 0 / 0.7665 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.6143, allocations: 24.42 kB / 0.7666 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.6143, allocations: 4 kB / 0.7666 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6143, allocations: 0.9375 kB / 0.7666 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.6143, allocations: 7.953 kB / 0.7666 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6143, allocations: 3.938 kB / 0.7666 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.6149, allocations: 197.5 kB / 0.7668 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.615, allocations: 85.83 kB / 0.7669 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.615, allocations: 0 / 0.7669 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.6152, allocations: 13.11 kB / 0.7669 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.6152, allocations: 5.391 kB / 0.7669 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.6152, allocations: 0 / 0.7669 GB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.6154, allocations: 117.6 kB / 0.767 GB, free: 12.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6154, allocations: 0 / 0.767 GB, free: 12.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.6158, allocations: 30.72 kB / 0.767 GB, free: 12.78 MB / 362.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.0001525/0.616, allocations: 99.19 kB / 0.7671 GB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.6164, allocations: 80.95 kB / 0.7672 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6165, allocations: 0 / 0.7672 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.6167, allocations: 37.16 kB / 0.7672 GB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.617, allocations: 4.016 kB / 0.7672 GB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.6179, allocations: 329.3 kB / 0.7675 GB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.6182, allocations: 0.7146 MB / 0.7682 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.6183, allocations: 4.672 kB / 0.7682 GB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.6183, allocations: 11.44 kB / 0.7683 GB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6183, allocations: 4 kB / 0.7683 GB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004242/0.6226, allocations: 0.6918 MB / 0.7689 GB, free: 10.8 MB / 362.7 MB