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.001047/0.001047, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 60.31 kB / 307.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09241, allocations: 50.54 MB / 358.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006406/0.09886, allocations: 4.65 MB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.1023, allocations: 1.995 MB / 364.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.1028, allocations: 12 kB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007913/0.1036, allocations: 422.2 kB / 365.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1047, allocations: 465.5 kB / 365.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.1055, allocations: 327.4 kB / 366 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.107, allocations: 1.032 MB / 367 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.1075, allocations: 294.5 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007616/0.1083, allocations: 414.7 kB / 367.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.1091, allocations: 0.5177 MB / 368.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.1094, allocations: 96 kB / 368.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.1097, allocations: 132 kB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.11, allocations: 239.2 kB / 368.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.1106, allocations: 469.5 kB / 369.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1121, allocations: 1.285 MB / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1121, allocations: 0 / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1121, allocations: 0 / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.1122, allocations: 0 / 370.4 MB, free: 1.766 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.002511/0.1147, allocations: 1.211 MB / 371.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1148, allocations: 12.03 kB / 371.7 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.1153, allocations: 123.7 kB / 371.8 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1447/0.2599, allocations: 0.5616 MB / 372.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2601, allocations: 48.8 kB / 372.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2602, allocations: 60.17 kB / 372.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.2614, allocations: 0.6323 MB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.2614, allocations: 3.219 kB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.2615, allocations: 30.88 kB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.2615, allocations: 19.7 kB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2626, allocations: 0.5249 MB / 373.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.2661, allocations: 2.552 MB / 376.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.267, allocations: 474.3 kB / 376.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.2675, allocations: 278.4 kB / 377 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.2676, allocations: 10.83 kB / 377 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2676, allocations: 45.62 kB / 377 MB, free: 17.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.434e-06/0.2676, allocations: 3.656 kB / 377 MB, free: 17.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004046/0.2717, allocations: 1.432 MB / 378.4 MB, free: 17.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2717, allocations: 61.91 kB / 378.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2728, allocations: 0.9708 MB / 379.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.2729, allocations: 36.56 kB / 379.5 MB, free: 16.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.2731, allocations: 412.8 kB / 379.9 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2732, allocations: 208.2 kB / 380.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.2734, allocations: 119.8 kB / 380.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.2735, allocations: 336.8 kB / 380.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.274, allocations: 229 kB / 380.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.2746, allocations: 333.6 kB / 381.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/0.2756, allocations: 0.5461 MB / 381.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2756, allocations: 0 / 381.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001356/0.2769, allocations: 0.7071 MB / 382.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.277, allocations: 6.125 kB / 382.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.277, allocations: 3.547 kB / 382.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.277, allocations: 5.406 kB / 382.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.2778, allocations: 172.5 kB / 382.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.2778, allocations: 9.953 kB / 382.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.2783, allocations: 42.25 kB / 382.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.2784, allocations: 23.56 kB / 382.6 MB, free: 14.96 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.0003/0.2787, allocations: 269.6 kB / 382.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2788, allocations: 83.92 kB / 383 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2801, allocations: 0.6147 MB / 383.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2801, allocations: 6.469 kB / 383.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2801, allocations: 0 / 383.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2801, allocations: 12.88 kB / 383.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.2828, allocations: 1.792 MB / 385.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2828, allocations: 7.625 kB / 385.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.2834, allocations: 123.3 kB / 385.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.2834, allocations: 4.031 kB / 385.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.2834, allocations: 19.61 kB / 385.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.2834, allocations: 5.672 kB / 385.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2834, allocations: 7.547 kB / 385.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2845, allocations: 0.7208 MB / 386.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.2848, allocations: 206.1 kB / 386.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.2849, allocations: 17.7 kB / 386.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2853, allocations: 29.12 kB / 386.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.2854, allocations: 54.73 kB / 386.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2855, allocations: 19.3 kB / 386.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008241/0.2863, allocations: 0.7019 MB / 387.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2863, allocations: 3.281 kB / 387.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.2869, allocations: 156.1 kB / 387.5 MB, free: 12.39 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.0008154/0.2877, allocations: 371.3 kB / 387.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2892, allocations: 0.5807 MB / 388.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2892, allocations: 0 / 388.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.2897, allocations: 278.8 kB / 388.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.2906, allocations: 154.7 kB / 388.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.293, allocations: 1.654 MB / 390.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.2935, allocations: 0.9685 MB / 391.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.2937, allocations: 62.98 kB / 391.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2937, allocations: 0 / 391.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.01445/0.3082, allocations: 10.04 MB / 401.6 MB, free: 3.039 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