Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007569, allocations: 96.98 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 7.938 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003419/0.1986, allocations: 3.985 MB / 408.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.2009, allocations: 1.78 MB / 410.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.2013, allocations: 11.94 kB / 410.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.2019, allocations: 396.9 kB / 410.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.2025, allocations: 386 kB / 411.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.2031, allocations: 283.6 kB / 411.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000764/0.2039, allocations: 0.9617 MB / 412.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.2043, allocations: 257 kB / 412.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.2046, allocations: 334.7 kB / 412.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/0.2051, allocations: 446.2 kB / 413.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.147e-05/0.2051, allocations: 44 kB / 413.4 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.2053, allocations: 67.97 kB / 413.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2055, allocations: 171.2 kB / 413.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.2058, allocations: 419.3 kB / 414.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.2066, allocations: 1.179 MB / 415.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2066, allocations: 0 / 415.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2066, allocations: 0 / 415.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.2066, allocations: 0 / 415.2 MB, free: 20.59 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001965/0.2086, allocations: 1.087 MB / 416.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2087, allocations: 8.031 kB / 416.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2088, allocations: 103.7 kB / 416.4 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.2094, allocations: 0.5435 MB / 417 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.2095, allocations: 45.88 kB / 417 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.2096, allocations: 63.94 kB / 417.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2106, allocations: 0.6636 MB / 417.7 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2107, allocations: 3.906 kB / 417.8 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.2107, allocations: 31.94 kB / 417.8 MB, free: 17.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2107, allocations: 12 kB / 417.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2118, allocations: 0.5868 MB / 418.4 MB, free: 17.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.2146, allocations: 2.564 MB / 420.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.2154, allocations: 488.4 kB / 421.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.2159, allocations: 306 kB / 421.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.216, allocations: 4.438 kB / 421.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.216, allocations: 39 kB / 421.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.214e-06/0.216, allocations: 0 / 421.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003767/0.2198, allocations: 1.656 MB / 423.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.2198, allocations: 63.95 kB / 423.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.2206, allocations: 0.938 MB / 424.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2207, allocations: 33.7 kB / 424.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2209, allocations: 404 kB / 424.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.221, allocations: 213 kB / 425.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.221, allocations: 16 kB / 425.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.2211, allocations: 334 kB / 425.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.2216, allocations: 257.9 kB / 425.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.2221, allocations: 359.1 kB / 426 MB, free: 9.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.2231, allocations: 0.6026 MB / 426.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2232, allocations: 11.92 kB / 426.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00131/0.2245, allocations: 0.7658 MB / 427.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2245, allocations: 4 kB / 427.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2245, allocations: 8 kB / 427.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2245, allocations: 4 kB / 427.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.2253, allocations: 183.8 kB / 427.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2253, allocations: 8 kB / 427.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2258, allocations: 51.95 kB / 427.6 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2258, allocations: 31.98 kB / 427.7 MB, free: 7.789 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.2261, allocations: 273.5 kB / 427.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.2262, allocations: 82.91 kB / 428 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2274, allocations: 0.6632 MB / 428.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2274, allocations: 8 kB / 428.7 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2274, allocations: 0 / 428.7 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2274, allocations: 0 / 428.7 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.2297, allocations: 1.855 MB / 430.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.2297, allocations: 7.984 kB / 430.5 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.2302, allocations: 140.1 kB / 430.7 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.2302, allocations: 12 kB / 430.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.2303, allocations: 15.94 kB / 430.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2303, allocations: 4 kB / 430.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2303, allocations: 7.938 kB / 430.7 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2313, allocations: 0.7849 MB / 431.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.2315, allocations: 208 kB / 431.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.2316, allocations: 12 kB / 431.7 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.232, allocations: 51.95 kB / 431.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2321, allocations: 40.33 kB / 431.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2322, allocations: 27.98 kB / 431.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005749/0.2327, allocations: 0.6826 MB / 432.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2327, allocations: 0 / 432.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004546/0.2332, allocations: 156 kB / 432.7 MB, free: 2.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007254/0.2339, allocations: 431.3 kB / 433.1 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.2351, allocations: 0.6084 MB / 433.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2351, allocations: 0 / 433.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.2356, allocations: 315.3 kB / 434 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.2365, allocations: 124.9 kB / 434.1 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2386, allocations: 1.945 MB / 436.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.2391, allocations: 0.9594 MB / 437 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003943/0.2395, allocations: 89.05 kB / 437.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.2397, allocations: 59.36 kB / 437.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2397, allocations: 8 kB / 437.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Templates: time 0.01244/0.2521, allocations: 7.099 MB / 444.3 MB, free: 6.992 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches