Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.226, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005618/0.2317, allocations: 4.583 MB / 406 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.2342, allocations: 1.796 MB / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2345, allocations: 19.88 kB / 407.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.2351, allocations: 422.2 kB / 408.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.2358, allocations: 421.7 kB / 408.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.2364, allocations: 322.1 kB / 408.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.2372, allocations: 1.017 MB / 410 MB, free: 288 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.2376, allocations: 298.5 kB / 410.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.238, allocations: 410.7 kB / 410.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.2386, allocations: 0.51 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2387, allocations: 96 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.2389, allocations: 120 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.2391, allocations: 243.1 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.2395, allocations: 453.6 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2405, allocations: 1.278 MB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2405, allocations: 3.938 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2405, allocations: 4 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2406, allocations: 0 / 413.3 MB, free: 12.88 MB / 334.1 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.002107/0.2427, allocations: 1.188 MB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2427, allocations: 8.031 kB / 414.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2429, allocations: 103.7 kB / 414.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.2437, allocations: 0.5552 MB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.2438, allocations: 41.69 kB / 415.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.2439, allocations: 60.12 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2451, allocations: 0.6558 MB / 415.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2452, allocations: 7.844 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.2452, allocations: 24 kB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2453, allocations: 16 kB / 416 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2465, allocations: 0.5556 MB / 416.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.25, allocations: 2.532 MB / 419.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.2509, allocations: 478.5 kB / 419.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.2516, allocations: 307.3 kB / 419.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.2517, allocations: 4.438 kB / 419.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2517, allocations: 42.94 kB / 419.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.2517, allocations: 0 / 419.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00453/0.2563, allocations: 1.492 MB / 421.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2563, allocations: 55.97 kB / 421.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2574, allocations: 0.9419 MB / 422.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.2575, allocations: 37.7 kB / 422.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.2578, allocations: 404 kB / 422.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.2579, allocations: 208.9 kB / 423 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2581, allocations: 118.5 kB / 423.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2583, allocations: 338 kB / 423.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.2589, allocations: 241.9 kB / 423.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.2596, allocations: 339.1 kB / 424 MB, free: 1.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.2609, allocations: 0.5752 MB / 424.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2609, allocations: 0 / 424.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001592/0.2625, allocations: 0.7267 MB / 425.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2625, allocations: 11.88 kB / 425.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2625, allocations: 4 kB / 425.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2625, allocations: 4 kB / 425.3 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.2633, allocations: 172 kB / 425.5 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.2633, allocations: 11.92 kB / 425.5 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.2638, allocations: 39.97 kB / 425.6 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.2639, allocations: 23.98 kB / 425.6 MB, free: 252 kB / 334.1 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_xMin.contact,actuator.armature.stopper_xMax.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.0003322/0.2642, allocations: 257.8 kB / 425.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2644, allocations: 94.88 kB / 425.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.2659, allocations: 0.6281 MB / 426.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2659, allocations: 3.984 kB / 426.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2659, allocations: 0 / 426.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.2662, allocations: 208 kB / 426.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.2663, allocations: 15.94 kB / 426.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.2667, allocations: 31.97 kB / 426.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.2668, allocations: 48.44 kB / 426.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001585/0.2684, allocations: 0.6784 MB / 427.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001301/0.2697, allocations: 0.7634 MB / 428.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005578/0.2703, allocations: 264.3 kB / 428.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007487/0.2711, allocations: 0.6865 MB / 429.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.2711, allocations: 0 / 429.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.2732, allocations: 0.8173 MB / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 0.002199/0.2754, allocations: 1.801 MB / 431.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.01539/0.2908, allocations: 9.451 MB / 441.3 MB, free: 0.6328 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches