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.SolenoidActuator.ComparisonPullInStroke.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.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005455, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5722, allocations: 87.52 MB / 396.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5725, allocations: 95.02 kB / 396.7 MB, free: 15.36 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3589/0.9314, allocations: 77.42 MB / 474.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.9315, allocations: 0 / 474.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001186/0.9327, allocations: 114 kB / 474.2 MB, free: 12.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.02246/0.9552, allocations: 6.985 MB / 481.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9552, allocations: 8.031 kB / 481.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.9582, allocations: 0.8602 MB / 482 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.9735, allocations: 3.622 MB / 485.7 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.9738, allocations: 160.1 kB / 485.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007424/0.9746, allocations: 219.8 kB / 486 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/0.9818, allocations: 2.131 MB / 488.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/0.9819, allocations: 4 kB / 488.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.9823, allocations: 84 kB / 488.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.9823, allocations: 52 kB / 488.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008442/0.9908, allocations: 1.997 MB / 490.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/1.024, allocations: 10.15 MB / 0.4887 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007491/1.031, allocations: 2.411 MB / 0.4911 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/1.032, allocations: 41.95 kB / 0.4911 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004182/1.036, allocations: 1.194 MB / 0.4923 GB, free: 14.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 7.905e-06/1.036, allocations: 7.922 kB / 0.4923 GB, free: 14.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=385): time 0.1472/1.183, allocations: 21.63 MB / 0.5134 GB, free: 8.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4773/1.661, allocations: 34.48 MB / 0.5471 GB, free: 94.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1808/1.841, allocations: 14.56 MB / 0.5613 GB, free: 90.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008511/1.842, allocations: 91.8 kB / 0.5614 GB, free: 90.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006841/1.849, allocations: 3.687 MB / 0.565 GB, free: 87.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.851, allocations: 1.275 MB / 0.5662 GB, free: 87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/1.852, allocations: 71.44 kB / 0.5663 GB, free: 86.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/1.852, allocations: 446.2 kB / 0.5667 GB, free: 86.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.856, allocations: 1.371 MB / 0.5681 GB, free: 86.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004884/1.861, allocations: 1.72 MB / 0.5698 GB, free: 85.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005272/1.867, allocations: 1.606 MB / 0.5713 GB, free: 84.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/1.867, allocations: 1.812 kB / 0.5713 GB, free: 84.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.02143/1.888, allocations: 5.545 MB / 0.5767 GB, free: 82.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/1.888, allocations: 39.77 kB / 0.5768 GB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/1.888, allocations: 3.438 kB / 0.5768 GB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009869/1.898, allocations: 1.471 MB / 0.5782 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005692/1.904, allocations: 0.5731 MB / 0.5788 GB, free: 81.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05476/1.959, allocations: 22.65 MB / 0.6009 GB, free: 64.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008427/1.967, allocations: 201.8 kB / 0.6011 GB, free: 63.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.968, allocations: 130.3 kB / 0.6012 GB, free: 63.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 309 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 54} Notification: Performance of prepare postOptimizeDAE: time 0.008035/1.976, allocations: 2.199 MB / 0.6034 GB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003368/1.98, allocations: 0.8526 MB / 0.6042 GB, free: 60.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/2.005, allocations: 5.646 MB / 0.6097 GB, free: 56.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009915/2.015, allocations: 2.469 MB / 0.6121 GB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-05/2.015, allocations: 4 kB / 0.6121 GB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.85e-05/2.015, allocations: 17.91 kB / 0.6121 GB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04575/2.061, allocations: 14.2 MB / 0.626 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.242e-05/2.061, allocations: 0 / 0.626 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004997/2.066, allocations: 499.7 kB / 0.6265 GB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/2.076, allocations: 1.468 MB / 0.6279 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/2.077, allocations: 82.83 kB / 0.628 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/2.114, allocations: 20.85 MB / 0.6484 GB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1461/2.26, allocations: 30.51 MB / 0.6782 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3207/2.581, allocations: 7.52 MB / 0.6855 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007333/2.588, allocations: 1.931 MB / 0.6874 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002855/2.591, allocations: 89.75 kB / 0.6875 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00629/2.598, allocations: 170.9 kB / 0.6876 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.599, allocations: 293.6 kB / 0.6879 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005941/2.6, allocations: 101 kB / 0.688 GB, free: 101 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02901/2.629, allocations: 10.87 MB / 0.6986 GB, free: 100.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.629, allocations: 0 / 0.6986 GB, free: 100.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008719/2.638, allocations: 1.766 MB / 0.7003 GB, free: 100.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 55,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/2.64, allocations: 0.5116 MB / 0.7008 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01445/2.654, allocations: 5.187 MB / 0.7059 GB, free: 99.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.654, allocations: 3.906 kB / 0.7059 GB, free: 99.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00938/2.664, allocations: 3.528 MB / 0.7094 GB, free: 98.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005679/2.669, allocations: 486.6 kB / 0.7098 GB, free: 98.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04852/2.718, allocations: 21.93 MB / 0.7312 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009239/2.727, allocations: 4.217 MB / 0.7354 GB, free: 90.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004529/2.732, allocations: 0.8388 MB / 0.7362 GB, free: 90.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002977/2.735, allocations: 349.6 kB / 0.7365 GB, free: 90.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.512e-06/2.735, allocations: 0 / 0.7365 GB, free: 90.72 MB / 426.7 MB Notification: Performance of Templates: time 0.5143/3.249, allocations: 89.13 MB / 0.8235 GB, free: 18.3 MB / 426.7 MB