Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00149/0.001491, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001669/0.001669, allocations: 186.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08354/0.08476, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005772/0.09056, allocations: 4.516 MB / 380.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1651/0.2557, allocations: 1.731 MB / 382.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.2563, allocations: 13.62 kB / 382.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.2572, allocations: 422.8 kB / 382.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2582, allocations: 419.6 kB / 382.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.259, allocations: 306.3 kB / 383.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.2604, allocations: 1.018 MB / 384.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.2609, allocations: 304.7 kB / 384.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.2613, allocations: 410.3 kB / 384.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.2619, allocations: 0.502 MB / 385.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.2621, allocations: 95.81 kB / 385.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.2623, allocations: 130.8 kB / 385.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.2625, allocations: 234.2 kB / 385.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.2629, allocations: 461.5 kB / 386.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2641, allocations: 1.264 MB / 387.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2641, allocations: 0 / 387.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2641, allocations: 0 / 387.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2641, allocations: 0.9688 kB / 387.6 MB, free: 7.887 MB / 318.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.001952/0.2661, allocations: 1.206 MB / 388.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2661, allocations: 8.953 kB / 388.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.2663, allocations: 101.9 kB / 388.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.2671, allocations: 0.5508 MB / 389.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.2672, allocations: 49.97 kB / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.2673, allocations: 63.36 kB / 389.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2684, allocations: 0.642 MB / 390.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.2684, allocations: 2.656 kB / 390.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.2685, allocations: 25.22 kB / 390.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2685, allocations: 19.06 kB / 390.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.2697, allocations: 0.555 MB / 390.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.273, allocations: 2.54 MB / 393.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.2739, allocations: 478.8 kB / 393.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.2747, allocations: 304.6 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.2747, allocations: 7.359 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2747, allocations: 38.61 kB / 394.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.2747, allocations: 4 kB / 394.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004336/0.2791, allocations: 1.488 MB / 395.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.2791, allocations: 62.36 kB / 395.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2802, allocations: 0.939 MB / 396.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.2802, allocations: 39.7 kB / 396.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.2805, allocations: 409.1 kB / 397.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2806, allocations: 207.1 kB / 397.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.2808, allocations: 116.9 kB / 397.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.2808, allocations: 331.6 kB / 397.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.2814, allocations: 243.1 kB / 398 MB, free: 2.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.282, allocations: 342.4 kB / 398.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2831, allocations: 0.5671 MB / 398.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2831, allocations: 0 / 398.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001429/0.2846, allocations: 0.733 MB / 399.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2846, allocations: 14.84 kB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2846, allocations: 1.375 kB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2846, allocations: 8.219 kB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.2854, allocations: 175 kB / 399.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2854, allocations: 8.828 kB / 399.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.2859, allocations: 38.17 kB / 399.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.2859, allocations: 28.27 kB / 399.9 MB, free: 1.258 MB / 318.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.0002832/0.2862, allocations: 268.5 kB / 400.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2864, allocations: 84.62 kB / 400.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2877, allocations: 0.6355 MB / 400.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2878, allocations: 1.031 kB / 400.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2878, allocations: 2 kB / 400.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.288, allocations: 199.2 kB / 401 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.2881, allocations: 18.34 kB / 401.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.2885, allocations: 38.75 kB / 401.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.2886, allocations: 35.17 kB / 401.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001512/0.2901, allocations: 0.6796 MB / 401.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001288/0.2914, allocations: 0.7648 MB / 402.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005576/0.292, allocations: 259.2 kB / 402.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007832/0.2928, allocations: 0.6846 MB / 403.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2928, allocations: 0 / 403.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.2949, allocations: 0.8096 MB / 404.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 0.002183/0.2971, allocations: 1.811 MB / 406.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01481/0.3119, allocations: 9.282 MB / 415.4 MB, free: 6.996 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches