Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 202 kB / 18.73 MB, free: 4.32 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.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007478/0.2594, allocations: 6.525 MB / 415.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.2633, allocations: 2.381 MB / 418.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.2639, allocations: 19.94 kB / 418.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.2647, allocations: 357.7 kB / 418.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2658, allocations: 0.5356 MB / 419.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.2666, allocations: 458.9 kB / 419.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2679, allocations: 1.565 MB / 421.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005863/0.2685, allocations: 0.5247 MB / 421.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.2691, allocations: 0.5957 MB / 422.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.2698, allocations: 0.6731 MB / 422.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.27, allocations: 160 kB / 423 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.2703, allocations: 196 kB / 423.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.2705, allocations: 334.9 kB / 423.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.2711, allocations: 0.6843 MB / 424.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2727, allocations: 1.972 MB / 426.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2727, allocations: 3.938 kB / 426.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2727, allocations: 0 / 426.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.2728, allocations: 0 / 426.2 MB, free: 0.543 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002554/0.2753, allocations: 1.539 MB / 427.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2754, allocations: 8.031 kB / 427.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.2759, allocations: 163.3 kB / 427.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.277, allocations: 0.7424 MB / 428.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.2771, allocations: 74 kB / 428.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2772, allocations: 95.94 kB / 428.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.2788, allocations: 0.9857 MB / 429.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.2788, allocations: 0 / 429.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.2789, allocations: 43.94 kB / 429.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2789, allocations: 24 kB / 429.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.2805, allocations: 0.8172 MB / 430.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/0.2855, allocations: 3.635 MB / 434.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2873, allocations: 0.6259 MB / 434.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.2879, allocations: 324.2 kB / 435.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.2879, allocations: 15.94 kB / 435.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.288, allocations: 50.81 kB / 435.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.294e-06/0.288, allocations: 0 / 435.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.003809/0.2918, allocations: 1.665 MB / 437 MB, free: 5.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2918, allocations: 85.11 kB / 437.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.293, allocations: 1.042 MB / 438.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.2931, allocations: 37.7 kB / 438.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.2934, allocations: 0.5415 MB / 438.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.2936, allocations: 228.7 kB / 438.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.2939, allocations: 166.5 kB / 439.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.294, allocations: 345.9 kB / 439.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.2947, allocations: 309.8 kB / 439.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/0.2955, allocations: 499.1 kB / 440.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2969, allocations: 0.7796 MB / 441 MB, free: 1.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2969, allocations: 4 kB / 441 MB, free: 1.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00185/0.2987, allocations: 0.9641 MB / 442 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2988, allocations: 8 kB / 442 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2988, allocations: 7.938 kB / 442 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.2988, allocations: 12 kB / 442 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3, allocations: 271.8 kB / 442.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.3, allocations: 15.94 kB / 442.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.3007, allocations: 59.88 kB / 442.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3008, allocations: 36 kB / 442.4 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0003845/0.3012, allocations: 285.6 kB / 442.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3014, allocations: 110.7 kB / 442.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.3021, allocations: 354.7 kB / 443.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3021, allocations: 8 kB / 443.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3021, allocations: 0 / 443.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3022, allocations: 7.938 kB / 443.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.3056, allocations: 2.293 MB / 445.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3056, allocations: 8 kB / 445.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/0.3064, allocations: 212.3 kB / 445.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.3064, allocations: 8 kB / 445.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.3064, allocations: 20 kB / 445.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.3065, allocations: 15.92 kB / 445.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3065, allocations: 11.94 kB / 445.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3079, allocations: 1.026 MB / 446.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.3081, allocations: 187.9 kB / 446.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3082, allocations: 27.98 kB / 446.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.3088, allocations: 51.95 kB / 447 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3089, allocations: 59.75 kB / 447 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.309, allocations: 32 kB / 447 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00084/0.3098, allocations: 0.719 MB / 447.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3098, allocations: 0 / 447.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.3106, allocations: 212 kB / 448 MB, free: 9.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0008145/0.3114, allocations: 381.8 kB / 448.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3129, allocations: 0.7341 MB / 449.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3129, allocations: 0 / 449.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.3136, allocations: 359.9 kB / 449.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3147, allocations: 223.3 kB / 449.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3177, allocations: 1.933 MB / 451.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.3183, allocations: 1.037 MB / 452.6 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004609/0.3187, allocations: 131.5 kB / 452.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3189, allocations: 79.36 kB / 452.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3189, allocations: 3.938 kB / 452.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of Templates: time 0.01888/0.3378, allocations: 11.13 MB / 464 MB, free: 9.984 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches