Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008884/0.0008885, allocations: 93.91 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 206.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002104/0.0002104, allocations: 8 kB / 308.4 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08706, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004708/0.0918, allocations: 4.261 MB / 364.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.09491, allocations: 1.937 MB / 366.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.09539, allocations: 12 kB / 366.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007638/0.09617, allocations: 402.7 kB / 366.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.09717, allocations: 426 kB / 366.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.09787, allocations: 295.6 kB / 367.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.09899, allocations: 0.9734 MB / 368.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.0994, allocations: 251.4 kB / 368.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.09997, allocations: 342.7 kB / 368.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.1006, allocations: 466.2 kB / 369.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.1007, allocations: 36 kB / 369.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.1009, allocations: 75.98 kB / 369.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1011, allocations: 175.2 kB / 369.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.1015, allocations: 427.3 kB / 369.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.1024, allocations: 1.013 MB / 370.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1024, allocations: 3.938 kB / 370.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1024, allocations: 0 / 370.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.1024, allocations: 0 / 370.9 MB, free: 2.238 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002004/0.1044, allocations: 1.067 MB / 372 MB, free: 1.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1045, allocations: 8.031 kB / 372 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005079/0.105, allocations: 127.7 kB / 372.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.1058, allocations: 0.5712 MB / 372.7 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1059, allocations: 49.31 kB / 372.8 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1061, allocations: 63.98 kB / 372.8 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.161/0.2671, allocations: 0.6361 MB / 373.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.2672, allocations: 6.922 kB / 373.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.2672, allocations: 21.56 kB / 373.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.2673, allocations: 15.94 kB / 373.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.2688, allocations: 0.5424 MB / 374 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.2729, allocations: 2.573 MB / 376.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.2739, allocations: 478.5 kB / 377.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.2744, allocations: 283.8 kB / 377.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.2745, allocations: 12.64 kB / 377.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2745, allocations: 45.7 kB / 377.4 MB, free: 17.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.354e-06/0.2745, allocations: 0 / 377.4 MB, free: 17.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004538/0.2791, allocations: 1.572 MB / 379 MB, free: 17.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2791, allocations: 58.44 kB / 379 MB, free: 17.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2806, allocations: 0.9719 MB / 380 MB, free: 16.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.2807, allocations: 42.83 kB / 380.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2809, allocations: 409.7 kB / 380.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2811, allocations: 211.1 kB / 380.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.2812, allocations: 63.72 kB / 380.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2812, allocations: 328.8 kB / 381.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.2818, allocations: 241.1 kB / 381.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.2824, allocations: 343 kB / 381.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2835, allocations: 0.5698 MB / 382.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2835, allocations: 1.344 kB / 382.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001512/0.285, allocations: 0.7354 MB / 382.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.285, allocations: 7.094 kB / 382.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.2851, allocations: 1.406 kB / 382.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2851, allocations: 5.344 kB / 382.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.2858, allocations: 175.1 kB / 383.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.2859, allocations: 13.58 kB / 383.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.2864, allocations: 41.83 kB / 383.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.2865, allocations: 24.66 kB / 383.2 MB, free: 14.9 MB / 302.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 (85): * Single equations (assignments): 85 * 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.0003283/0.2868, allocations: 268.3 kB / 383.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2869, allocations: 86.06 kB / 383.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.2883, allocations: 0.6354 MB / 384.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2883, allocations: 10.89 kB / 384.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2883, allocations: 1.312 kB / 384.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2883, allocations: 2.766 kB / 384.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.2912, allocations: 1.821 MB / 386 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2912, allocations: 2.656 kB / 386 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.2918, allocations: 128.2 kB / 386.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.2918, allocations: 13.55 kB / 386.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2918, allocations: 18.36 kB / 386.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.2919, allocations: 8.25 kB / 386.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2919, allocations: 3.938 kB / 386.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.293, allocations: 0.7445 MB / 386.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.2933, allocations: 211.8 kB / 387.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2934, allocations: 14.69 kB / 387.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2939, allocations: 39.27 kB / 387.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.294, allocations: 51.11 kB / 387.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.294, allocations: 20.39 kB / 387.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008921/0.2949, allocations: 0.7085 MB / 388 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2949, allocations: 0 / 388 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00061/0.2955, allocations: 156.5 kB / 388.1 MB, free: 12.3 MB / 302.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 (63): * Single equations (assignments): 63 * 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.00078/0.2963, allocations: 360 kB / 388.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.2975, allocations: 0.5702 MB / 389 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2976, allocations: 0 / 389 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.2981, allocations: 291.7 kB / 389.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2992, allocations: 146.4 kB / 389.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3019, allocations: 2.007 MB / 391.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.3023, allocations: 0.9687 MB / 392.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3026, allocations: 62 kB / 392.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3026, allocations: 0 / 392.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of Templates: time 0.01427/0.3169, allocations: 9.906 MB / 402.4 MB, free: 2.629 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches