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.001435/0.001435, allocations: 111.9 kB / 17.06 MB, free: 5.996 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.001611/0.001611, allocations: 200 kB / 18 MB, free: 5.078 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000982/0.000982, allocations: 51.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.255, allocations: 49.42 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005633/0.2606, allocations: 4.577 MB / 405.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.2633, allocations: 1.815 MB / 407.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.2636, allocations: 11.94 kB / 407.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.2643, allocations: 414.3 kB / 407.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007198/0.2651, allocations: 425.7 kB / 407.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.2657, allocations: 321.5 kB / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2667, allocations: 1.024 MB / 409.3 MB, free: 264 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.2671, allocations: 294.5 kB / 409.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.2675, allocations: 410.7 kB / 410 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.2681, allocations: 0.5061 MB / 410.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2682, allocations: 100 kB / 410.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.2684, allocations: 120 kB / 410.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2686, allocations: 239.1 kB / 410.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.269, allocations: 461.6 kB / 411.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.27, allocations: 1.27 MB / 412.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.27, allocations: 0 / 412.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.27, allocations: 0 / 412.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2701, allocations: 0 / 412.6 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.002055/0.2721, allocations: 1.206 MB / 413.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2722, allocations: 8.031 kB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.2723, allocations: 99.72 kB / 413.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.2732, allocations: 0.5551 MB / 414.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.2732, allocations: 45.69 kB / 414.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.2733, allocations: 64.12 kB / 414.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2745, allocations: 0.6441 MB / 415.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2745, allocations: 3.906 kB / 415.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.2746, allocations: 28 kB / 415.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2746, allocations: 12 kB / 415.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.2758, allocations: 0.5594 MB / 415.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.2792, allocations: 2.536 MB / 418.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/0.2801, allocations: 478.5 kB / 418.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.2808, allocations: 298 kB / 419.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.2809, allocations: 12.44 kB / 419.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2809, allocations: 39 kB / 419.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.2809, allocations: 0 / 419.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004146/0.2851, allocations: 1.488 MB / 420.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2851, allocations: 63.95 kB / 420.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/0.2861, allocations: 0.938 MB / 421.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.2861, allocations: 37.7 kB / 421.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.2864, allocations: 404 kB / 422.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.2865, allocations: 205 kB / 422.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.2867, allocations: 126.6 kB / 422.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2869, allocations: 326 kB / 422.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.2874, allocations: 245.9 kB / 423 MB, free: 2.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.2881, allocations: 343.1 kB / 423.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.2893, allocations: 0.5674 MB / 423.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2893, allocations: 7.875 kB / 423.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001436/0.2907, allocations: 0.7307 MB / 424.6 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2908, allocations: 11.94 kB / 424.7 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2908, allocations: 0 / 424.7 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2908, allocations: 8 kB / 424.7 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.2916, allocations: 167.8 kB / 424.8 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2916, allocations: 11.98 kB / 424.8 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.2921, allocations: 40.03 kB / 424.9 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.2921, allocations: 27.98 kB / 424.9 MB, free: 232 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.0003175/0.2924, allocations: 261.7 kB / 425.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2926, allocations: 82.91 kB / 425.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.2939, allocations: 0.632 MB / 425.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2939, allocations: 4 kB / 425.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.294, allocations: 0 / 425.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.294, allocations: 7.984 kB / 425.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.2967, allocations: 1.795 MB / 427.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.2967, allocations: 11.94 kB / 427.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.2973, allocations: 136.1 kB / 427.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.2973, allocations: 4 kB / 427.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.2973, allocations: 19.98 kB / 427.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2973, allocations: 4 kB / 427.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2973, allocations: 7.938 kB / 427.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2986, allocations: 0.7547 MB / 428.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.2988, allocations: 203.9 kB / 428.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.2989, allocations: 16 kB / 428.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.2993, allocations: 39.97 kB / 428.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.2995, allocations: 44.38 kB / 428.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.2995, allocations: 19.94 kB / 428.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007547/0.3003, allocations: 0.6865 MB / 429.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3003, allocations: 0 / 429.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3008, allocations: 144 kB / 429.8 MB, free: 11.17 MB / 350.1 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.0008502/0.3017, allocations: 375.7 kB / 430.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.303, allocations: 0.5848 MB / 430.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.303, allocations: 0 / 430.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.3036, allocations: 299.1 kB / 431 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.3043, allocations: 141 kB / 431.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.307, allocations: 1.561 MB / 432.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.3075, allocations: 0.9592 MB / 433.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.3079, allocations: 97.03 kB / 433.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.308, allocations: 55.42 kB / 433.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3081, allocations: 0 / 433.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of Templates: time 0.01387/0.3219, allocations: 7.787 MB / 441.6 MB, free: 15.43 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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