Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09823, allocations: 44.5 MB / 309 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5723/0.6706, allocations: 82.6 MB / 391.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.6709, allocations: 93.27 kB / 391.7 MB, free: 15.37 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1426/0.8136, allocations: 35.67 MB / 427.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8136, allocations: 4 kB / 427.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.466e-05/0.8137, allocations: 19.38 kB / 427.4 MB, free: 4.434 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003693/0.8174, allocations: 1.231 MB / 428.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8175, allocations: 7.875 kB / 428.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.8178, allocations: 120.7 kB / 428.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.8191, allocations: 0.6081 MB / 429.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.8193, allocations: 89.5 kB / 429.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.8195, allocations: 103.1 kB / 429.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.8228, allocations: 1.021 MB / 430.6 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.8229, allocations: 7.859 kB / 430.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.8231, allocations: 40.19 kB / 430.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.8231, allocations: 23.34 kB / 430.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.8266, allocations: 0.9409 MB / 431.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008293/0.835, allocations: 3.566 MB / 435.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.8376, allocations: 0.8764 MB / 436.1 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.8377, allocations: 20.14 kB / 436.1 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.8378, allocations: 50.12 kB / 436.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.609e-06/0.8378, allocations: 0 / 436.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01955/0.8573, allocations: 4.755 MB / 440.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.8575, allocations: 90.2 kB / 441 MB, free: 11.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.8589, allocations: 0.6084 MB / 441.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.8592, allocations: 45.7 kB / 441.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.8596, allocations: 416.3 kB / 442 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/0.8603, allocations: 428.6 kB / 442.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.8605, allocations: 24 kB / 442.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.8608, allocations: 398.7 kB / 442.9 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.8627, allocations: 438.4 kB / 443.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.8649, allocations: 0.5514 MB / 443.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.8669, allocations: 483.7 kB / 444.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.867, allocations: 0 / 444.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00507/0.8721, allocations: 1.302 MB / 445.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8722, allocations: 8 kB / 445.6 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.8722, allocations: 3.953 kB / 445.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.8729, allocations: 134.5 kB / 445.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.8753, allocations: 275.7 kB / 446 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.8812, allocations: 4.556 MB / 450.6 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.8829, allocations: 80 kB / 450.7 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.8831, allocations: 47.92 kB / 450.7 MB, free: 1.629 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008466/0.884, allocations: 281.6 kB / 451 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.8844, allocations: 86.97 kB / 451.1 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.8875, allocations: 0.8359 MB / 451.9 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.8875, allocations: 12 kB / 451.9 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.8876, allocations: 4 kB / 451.9 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.8876, allocations: 7.969 kB / 451.9 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009509/0.8971, allocations: 3.021 MB / 454.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.8972, allocations: 4 kB / 454.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/0.9004, allocations: 232 kB / 455.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.9017, allocations: 155.3 kB / 455.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/0.902, allocations: 39.92 kB / 455.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009722/0.9118, allocations: 5.608 MB / 461 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.9119, allocations: 7.969 kB / 461 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.922, allocations: 1.971 MB / 463 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.9227, allocations: 168 kB / 463.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/0.9232, allocations: 31.98 kB / 463.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/0.9254, allocations: 71.95 kB / 463.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004717/0.926, allocations: 96.42 kB / 463.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.9262, allocations: 35.98 kB / 463.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.9277, allocations: 443.1 kB / 463.8 MB, free: 3.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9277, allocations: 4 kB / 463.8 MB, free: 3.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002958/0.9307, allocations: 268 kB / 464 MB, free: 3.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007578/0.9315, allocations: 158.2 kB / 464.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.939, allocations: 1.458 MB / 465.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/0.9391, allocations: 8.062 kB / 465.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004527/0.9437, allocations: 1.093 MB / 466.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.9463, allocations: 163.8 kB / 466.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.958, allocations: 2.771 MB / 469.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.9595, allocations: 1.048 MB / 470.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001759/0.9613, allocations: 123.8 kB / 470.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/0.9619, allocations: 75.42 kB / 470.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.962, allocations: 0 / 470.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.05651/1.018, allocations: 11.59 MB / 482.5 MB, free: 0.9336 MB / 362.7 MB