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.ComparisonQuasiStationary.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.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 2.307/2.307, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 11.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09682, allocations: 44.51 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6308, allocations: 87.24 MB / 396.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004924/0.6313, allocations: 97.25 kB / 396.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2122/0.8436, allocations: 49.38 MB / 445.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.8436, allocations: 0 / 445.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.8439, allocations: 48 kB / 445.8 MB, free: 8.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.01163/0.8555, allocations: 2.629 MB / 448.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8556, allocations: 8.031 kB / 448.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.8569, allocations: 296.4 kB / 448.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.8618, allocations: 1.33 MB / 450.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.8621, allocations: 156.2 kB / 450.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008227/0.8629, allocations: 212.2 kB / 450.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007881/0.8708, allocations: 1.911 MB / 452.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-05/0.871, allocations: 4 kB / 452.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/0.8713, allocations: 84 kB / 452.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/0.8714, allocations: 52 kB / 452.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008491/0.8799, allocations: 2.007 MB / 454.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/0.9064, allocations: 7.596 MB / 462.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00799/0.9145, allocations: 2.375 MB / 464.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.9149, allocations: 33.73 kB / 464.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/0.915, allocations: 56.56 kB / 464.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 5.871e-06/0.915, allocations: 0 / 464.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=375): time 0.1263/1.041, allocations: 19.04 MB / 483.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2202/1.262, allocations: 34.5 MB / 0.506 GB, free: 15.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/1.266, allocations: 1.827 MB / 0.5077 GB, free: 14.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007753/1.267, allocations: 85.7 kB / 0.5078 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.268, allocations: 0.9575 MB / 0.5088 GB, free: 13.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/1.27, allocations: 1.239 MB / 0.51 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/1.271, allocations: 68 kB / 0.51 GB, free: 11.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003402/1.271, allocations: 429.2 kB / 0.5104 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005297/1.276, allocations: 1.358 MB / 0.5118 GB, free: 9.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/1.282, allocations: 1.645 MB / 0.5134 GB, free: 8.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/1.288, allocations: 1.561 MB / 0.5149 GB, free: 6.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/1.289, allocations: 4 kB / 0.5149 GB, free: 6.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=437) (initialization): time 0.0236/1.312, allocations: 4.792 MB / 0.5196 GB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/1.312, allocations: 37.69 kB / 0.5196 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.03e-05/1.312, allocations: 4 kB / 0.5196 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.328, allocations: 1.39 MB / 0.521 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2693/1.597, allocations: 0.577 MB / 0.5215 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04073/1.638, allocations: 19.62 MB / 0.5407 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.643, allocations: 166.6 kB / 0.5409 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009608/1.644, allocations: 118.7 kB / 0.541 GB, free: 104.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 307 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.002482/1.646, allocations: 0.5957 MB / 0.5415 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009647/1.647, allocations: 266.5 kB / 0.5418 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.668, allocations: 4.796 MB / 0.5465 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01753/1.685, allocations: 4.207 MB / 0.5506 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.685, allocations: 10.64 kB / 0.5506 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9e-05/1.686, allocations: 17.25 kB / 0.5506 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/1.718, allocations: 9.88 MB / 0.5603 GB, free: 98.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/1.718, allocations: 10.67 kB / 0.5603 GB, free: 98.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005064/1.723, allocations: 0.4898 MB / 0.5608 GB, free: 98.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009717/1.732, allocations: 1.413 MB / 0.5621 GB, free: 98.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007698/1.733, allocations: 75.38 kB / 0.5622 GB, free: 98.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04071/1.774, allocations: 18.15 MB / 0.5799 GB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1473/1.921, allocations: 30.64 MB / 0.6099 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03563/1.957, allocations: 6.732 MB / 0.6164 GB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.96, allocations: 0.6862 MB / 0.6171 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.961, allocations: 71 kB / 0.6172 GB, free: 56.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004283/1.965, allocations: 156.4 kB / 0.6173 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/1.966, allocations: 286.1 kB / 0.6176 GB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003822/1.967, allocations: 99.5 kB / 0.6177 GB, free: 56.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002785/1.969, allocations: 1.268 MB / 0.6189 GB, free: 55.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.97, allocations: 0 / 0.6189 GB, free: 55.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005208/1.975, allocations: 1.074 MB / 0.62 GB, free: 54.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/1.976, allocations: 359.4 kB / 0.6203 GB, free: 54.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01284/1.989, allocations: 4.824 MB / 0.625 GB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.989, allocations: 0 / 0.625 GB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008264/1.997, allocations: 3.268 MB / 0.6282 GB, free: 46.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/2, allocations: 315.1 kB / 0.6285 GB, free: 46.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/2.018, allocations: 8.218 MB / 0.6365 GB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/2.019, allocations: 1.836 MB / 0.6383 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003191/2.023, allocations: 330.4 kB / 0.6387 GB, free: 36.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/2.024, allocations: 179.4 kB / 0.6388 GB, free: 36.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/2.024, allocations: 0 / 0.6388 GB, free: 36.7 MB / 410.7 MB Notification: Performance of Templates: time 0.4499/2.474, allocations: 63.16 MB / 0.7005 GB, free: 94.65 MB / 410.7 MB