Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") 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.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 174.1 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.6 MB / 223.7 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007654/0.0007653, allocations: 97.94 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002655, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1984, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004439/0.2029, allocations: 5.448 MB / 382.1 MB, free: 41.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.2054, allocations: 1.795 MB / 383.9 MB, free: 39.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.2058, allocations: 19.41 kB / 383.9 MB, free: 39.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2062, allocations: 166.9 kB / 384 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.2068, allocations: 347.2 kB / 384.4 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.2073, allocations: 331.1 kB / 384.7 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2083, allocations: 1.376 MB / 386.1 MB, free: 38.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.2089, allocations: 450 kB / 386.5 MB, free: 38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.2093, allocations: 428.8 kB / 386.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.2098, allocations: 0.5046 MB / 387.4 MB, free: 37.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.2099, allocations: 64.97 kB / 387.5 MB, free: 37.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.21, allocations: 65.91 kB / 387.6 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2102, allocations: 197.6 kB / 387.8 MB, free: 37.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.2105, allocations: 0.5625 MB / 388.3 MB, free: 36.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.2114, allocations: 1.72 MB / 390 MB, free: 34.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2114, allocations: 0 / 390 MB, free: 34.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2115, allocations: 0 / 390 MB, free: 34.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.2115, allocations: 0 / 390 MB, free: 34.99 MB / 298.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.002004/0.2135, allocations: 1.292 MB / 391.3 MB, free: 33.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2135, allocations: 8.031 kB / 391.3 MB, free: 33.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2137, allocations: 119.5 kB / 391.5 MB, free: 33.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000785/0.2145, allocations: 0.6728 MB / 392.1 MB, free: 32.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.2146, allocations: 78.56 kB / 392.2 MB, free: 32.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2147, allocations: 100.3 kB / 392.3 MB, free: 32.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.2162, allocations: 1.021 MB / 393.3 MB, free: 31.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.2163, allocations: 4 kB / 393.3 MB, free: 31.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.2163, allocations: 36 kB / 393.4 MB, free: 31.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2164, allocations: 28 kB / 393.4 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.2179, allocations: 0.9147 MB / 394.3 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.2217, allocations: 3.352 MB / 397.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2228, allocations: 0.8322 MB / 398.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.2235, allocations: 495.2 kB / 399 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.2236, allocations: 9.156 kB / 399 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2236, allocations: 47.11 kB / 399 MB, free: 25.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.236e-06/0.2236, allocations: 4 kB / 399 MB, free: 25.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.007471/0.2311, allocations: 4.442 MB / 403.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2312, allocations: 89.77 kB / 403.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.2319, allocations: 0.6045 MB / 404.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.2319, allocations: 49.7 kB / 404.2 MB, free: 20.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.2321, allocations: 416.2 kB / 404.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.2323, allocations: 406.2 kB / 405 MB, free: 19.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.2323, allocations: 20 kB / 405 MB, free: 19.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2324, allocations: 390.7 kB / 405.4 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.2331, allocations: 398.4 kB / 405.8 MB, free: 18.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.2339, allocations: 0.5354 MB / 406.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2353, allocations: 0.9238 MB / 407.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2353, allocations: 0 / 407.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001912/0.2372, allocations: 1.227 MB / 408.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2373, allocations: 6.812 kB / 408.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2373, allocations: 7.984 kB / 408.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.2376, allocations: 130.5 kB / 408.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/0.2385, allocations: 263.6 kB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.241, allocations: 4.524 MB / 413.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.2418, allocations: 64 kB / 413.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.2419, allocations: 48.05 kB / 413.5 MB, free: 10.48 MB / 298.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 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004716/0.2424, allocations: 274.2 kB / 413.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.2425, allocations: 86.97 kB / 413.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.2438, allocations: 0.784 MB / 414.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2439, allocations: 12 kB / 414.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2439, allocations: 4 kB / 414.7 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2439, allocations: 3.984 kB / 414.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.2472, allocations: 2.702 MB / 417.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2472, allocations: 0 / 417.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.248, allocations: 219.8 kB / 417.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.2484, allocations: 151.3 kB / 417.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.2484, allocations: 27.98 kB / 417.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.2511, allocations: 5.572 MB / 423.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2511, allocations: 0 / 423.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.2541, allocations: 1.798 MB / 425.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.2543, allocations: 168 kB / 425.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2544, allocations: 24 kB / 425.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.255, allocations: 59.95 kB / 425.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.2552, allocations: 88.33 kB / 425.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.2552, allocations: 31.98 kB / 425.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005342/0.2558, allocations: 435.1 kB / 425.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2558, allocations: 0 / 425.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000796/0.2566, allocations: 256 kB / 426.2 MB, free: 13.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.2568, allocations: 148.7 kB / 426.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.259, allocations: 1.361 MB / 427.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.259, allocations: 0.625 kB / 427.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.2604, allocations: 1.041 MB / 428.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.2614, allocations: 162.9 kB / 428.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.2649, allocations: 2.743 MB / 431.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.2654, allocations: 1.024 MB / 432.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005109/0.2659, allocations: 123.5 kB / 432.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2662, allocations: 79.41 kB / 432.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2662, allocations: 0 / 432.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01775/0.2839, allocations: 11.14 MB / 444 MB, free: 11.16 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches