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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003627, allocations: 12 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4499, allocations: 87.52 MB / 396.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.4503, allocations: 91.94 kB / 396.2 MB, free: 5.016 MB / 330.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.5692/1.019, allocations: 77.42 MB / 473.6 MB, free: 50.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.977e-06/1.02, allocations: 0 / 473.6 MB, free: 50.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001377/1.021, allocations: 120 kB / 473.7 MB, free: 50.14 MB / 346.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.01902/1.04, allocations: 6.983 MB / 480.7 MB, free: 43.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.04, allocations: 12.03 kB / 480.7 MB, free: 43.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001265/1.041, allocations: 287.4 kB / 481 MB, free: 42.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/1.044, allocations: 0.864 MB / 481.9 MB, free: 41.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.056, allocations: 3.624 MB / 485.5 MB, free: 38.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/1.057, allocations: 160.1 kB / 485.6 MB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009145/1.058, allocations: 208 kB / 485.8 MB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007691/1.065, allocations: 2.135 MB / 488 MB, free: 35.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.066, allocations: 7.906 kB / 488 MB, free: 35.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/1.066, allocations: 88 kB / 488.1 MB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/1.066, allocations: 48 kB / 488.1 MB, free: 35.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007739/1.074, allocations: 1.993 MB / 490.1 MB, free: 33.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/1.104, allocations: 10.14 MB / 0.4885 GB, free: 23.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/1.11, allocations: 2.407 MB / 0.4909 GB, free: 20.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/1.111, allocations: 46.19 kB / 0.4909 GB, free: 20.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004085/1.115, allocations: 1.194 MB / 0.4921 GB, free: 19.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 7.364e-06/1.115, allocations: 3.938 kB / 0.4921 GB, free: 19.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=385): time 0.1506/1.265, allocations: 21.64 MB / 0.5132 GB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1867/1.452, allocations: 34.49 MB / 0.5469 GB, free: 10.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.505/1.957, allocations: 13.46 MB / 0.5601 GB, free: 95.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008161/1.958, allocations: 88.52 kB / 0.5601 GB, free: 95.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006066/1.964, allocations: 3.688 MB / 0.5637 GB, free: 94.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.966, allocations: 1.274 MB / 0.565 GB, free: 94.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/1.966, allocations: 76.31 kB / 0.5651 GB, free: 94.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/1.967, allocations: 439.2 kB / 0.5655 GB, free: 94.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/1.971, allocations: 1.376 MB / 0.5668 GB, free: 94.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005386/1.977, allocations: 1.717 MB / 0.5685 GB, free: 94.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/1.982, allocations: 1.612 MB / 0.5701 GB, free: 94.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/1.982, allocations: 3.719 kB / 0.5701 GB, free: 94.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.03104/2.013, allocations: 5.544 MB / 0.5755 GB, free: 93.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/2.013, allocations: 36.23 kB / 0.5755 GB, free: 93.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/2.014, allocations: 3.812 kB / 0.5755 GB, free: 93.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01457/2.028, allocations: 1.467 MB / 0.577 GB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008317/2.036, allocations: 0.5691 MB / 0.5775 GB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06079/2.097, allocations: 22.66 MB / 0.5996 GB, free: 77.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009416/2.107, allocations: 200.4 kB / 0.5998 GB, free: 77.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/2.108, allocations: 121.3 kB / 0.5999 GB, free: 77.02 MB / 394.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.009531/2.118, allocations: 2.199 MB / 0.6021 GB, free: 76.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004393/2.122, allocations: 0.8525 MB / 0.6029 GB, free: 75.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03189/2.154, allocations: 5.639 MB / 0.6084 GB, free: 73.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01345/2.168, allocations: 2.482 MB / 0.6109 GB, free: 72.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.531e-05/2.168, allocations: 3.906 kB / 0.6109 GB, free: 72.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.168, allocations: 27.61 kB / 0.6109 GB, free: 72.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05995/2.228, allocations: 14.19 MB / 0.6247 GB, free: 63.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/2.228, allocations: 0 / 0.6247 GB, free: 63.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004942/2.233, allocations: 498 kB / 0.6252 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009635/2.243, allocations: 1.472 MB / 0.6267 GB, free: 62.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006774/2.243, allocations: 83.2 kB / 0.6267 GB, free: 62.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03452/2.278, allocations: 20.85 MB / 0.6471 GB, free: 41.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1495/2.427, allocations: 30.5 MB / 0.6769 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0261/2.453, allocations: 8.061 MB / 0.6847 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006656/2.46, allocations: 1.937 MB / 0.6866 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/2.463, allocations: 88 kB / 0.6867 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00572/2.468, allocations: 167.9 kB / 0.6869 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/2.47, allocations: 303.2 kB / 0.6872 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/2.47, allocations: 99.97 kB / 0.6873 GB, free: 2.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.02886/2.499, allocations: 10.87 MB / 0.6979 GB, free: 8.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.499, allocations: 3.719 kB / 0.6979 GB, free: 8.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009971/2.509, allocations: 1.762 MB / 0.6996 GB, free: 6.266 MB / 410.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.3551/2.864, allocations: 9.32 MB / 0.7087 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01642/2.881, allocations: 5.181 MB / 0.7138 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/2.881, allocations: 3.969 kB / 0.7138 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008577/2.889, allocations: 3.528 MB / 0.7172 GB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/2.895, allocations: 492.9 kB / 0.7177 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0668/2.961, allocations: 53.8 MB / 0.7702 GB, free: 60.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008491/2.97, allocations: 4.213 MB / 0.7743 GB, free: 59.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004437/2.975, allocations: 0.8355 MB / 0.7751 GB, free: 59.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008179/2.983, allocations: 3.425 MB / 0.7785 GB, free: 59 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/2.983, allocations: 0 / 0.7785 GB, free: 59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9156/3.898, allocations: 161.8 MB / 0.9365 GB, free: 73.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/3.899, allocations: 286.8 kB / 0.9367 GB, free: 73.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/16.09, allocations: 0 / 0.9367 GB, free: 73.48 MB / 426.7 MB