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.001077/0.001077, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.44 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08473, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005551/0.09032, allocations: 4.659 MB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.09321, allocations: 1.983 MB / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.09346, allocations: 15.94 kB / 364.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.09412, allocations: 422.2 kB / 364.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.09489, allocations: 469.5 kB / 365 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.09545, allocations: 315.5 kB / 365.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008296/0.09629, allocations: 1.036 MB / 366.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.09667, allocations: 302.5 kB / 366.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.09708, allocations: 418.6 kB / 367.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.09758, allocations: 0.5099 MB / 367.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.0977, allocations: 100 kB / 367.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.09791, allocations: 132 kB / 367.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.0981, allocations: 239.2 kB / 368 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.09845, allocations: 469.5 kB / 368.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.09941, allocations: 1.289 MB / 369.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09942, allocations: 3.938 kB / 369.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09943, allocations: 4 kB / 369.8 MB, free: 1.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.09945, allocations: 0 / 369.8 MB, free: 1.75 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.00195/0.1014, allocations: 1.203 MB / 371 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1014, allocations: 8.031 kB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.1019, allocations: 131.7 kB / 371.1 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1716/0.2735, allocations: 0.5598 MB / 371.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.2737, allocations: 50.3 kB / 371.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2738, allocations: 58.27 kB / 371.8 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.2751, allocations: 0.6304 MB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2752, allocations: 2.656 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.2752, allocations: 28.34 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2753, allocations: 24.19 kB / 372.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2765, allocations: 0.5256 MB / 373 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.2804, allocations: 2.548 MB / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.2814, allocations: 470.2 kB / 376 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.282, allocations: 280.8 kB / 376.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.2821, allocations: 11.89 kB / 376.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2821, allocations: 42.58 kB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.404e-06/0.2821, allocations: 1.375 kB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004121/0.2862, allocations: 1.437 MB / 377.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2863, allocations: 60.02 kB / 377.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2875, allocations: 0.9702 MB / 378.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2876, allocations: 40.02 kB / 378.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.2878, allocations: 413.2 kB / 379.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.288, allocations: 211.9 kB / 379.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.2882, allocations: 120.5 kB / 379.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.2883, allocations: 333 kB / 379.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.2888, allocations: 225.5 kB / 380.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.2893, allocations: 333.1 kB / 380.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2904, allocations: 0.5489 MB / 381 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2904, allocations: 4.875 kB / 381 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001603/0.292, allocations: 0.7108 MB / 381.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2921, allocations: 5.594 kB / 381.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2921, allocations: 3.172 kB / 381.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.2921, allocations: 6.031 kB / 381.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.293, allocations: 168.9 kB / 381.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.293, allocations: 6.25 kB / 381.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.2935, allocations: 38.66 kB / 381.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.2936, allocations: 27.56 kB / 381.9 MB, free: 14.94 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.0003206/0.2939, allocations: 270 kB / 382.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.294, allocations: 84.78 kB / 382.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.2954, allocations: 0.6087 MB / 382.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2954, allocations: 6.344 kB / 382.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2954, allocations: 1.5 kB / 382.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2954, allocations: 9.281 kB / 382.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.2982, allocations: 1.793 MB / 384.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2982, allocations: 3.734 kB / 384.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.2987, allocations: 128.3 kB / 384.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2988, allocations: 8.531 kB / 384.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.2988, allocations: 15.34 kB / 384.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.2988, allocations: 9.984 kB / 384.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2988, allocations: 6.375 kB / 384.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3, allocations: 0.7219 MB / 385.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.3002, allocations: 206.2 kB / 385.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.3003, allocations: 15.22 kB / 385.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.3008, allocations: 29.19 kB / 385.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3009, allocations: 42.73 kB / 385.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3009, allocations: 24.44 kB / 385.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000841/0.3018, allocations: 0.7044 MB / 386.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3018, allocations: 0 / 386.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.3024, allocations: 156.5 kB / 386.8 MB, free: 12.37 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.0008484/0.3032, allocations: 382 kB / 387.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.3047, allocations: 0.5833 MB / 387.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3047, allocations: 5.188 kB / 387.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.3053, allocations: 276.6 kB / 388 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.3062, allocations: 146.6 kB / 388.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.3087, allocations: 1.608 MB / 389.8 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.3092, allocations: 0.9735 MB / 390.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.3097, allocations: 99.17 kB / 390.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3099, allocations: 55.33 kB / 390.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3099, allocations: 0 / 390.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.01256/0.3224, allocations: 7.932 MB / 398.8 MB, free: 5.156 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/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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches