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=160000,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=160000,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.001784/0.001784, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002231/0.002232, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.001831, allocations: 67.69 kB / 307.7 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09596, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006597/0.1026, allocations: 4.666 MB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.1062, allocations: 1.983 MB / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.1067, allocations: 11.94 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.1075, allocations: 430.2 kB / 365.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.1085, allocations: 457.5 kB / 365.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.1092, allocations: 323.5 kB / 366 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1104, allocations: 1.036 MB / 367.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.1108, allocations: 298.5 kB / 367.4 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.1114, allocations: 422.7 kB / 367.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.112, allocations: 0.5021 MB / 368.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.1121, allocations: 103.9 kB / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.1124, allocations: 136 kB / 368.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.1126, allocations: 235.2 kB / 368.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.1131, allocations: 469.5 kB / 369.2 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1143, allocations: 1.285 MB / 370.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1143, allocations: 4 kB / 370.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1144, allocations: 0 / 370.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1144, allocations: 0 / 370.5 MB, free: 1.742 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.00222/0.1166, allocations: 1.207 MB / 371.7 MB, free: 496 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1167, allocations: 8.031 kB / 371.7 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.1171, allocations: 127.7 kB / 371.8 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1444/0.2615, allocations: 0.5618 MB / 372.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2617, allocations: 51.09 kB / 372.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2618, allocations: 58.84 kB / 372.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.263, allocations: 0.633 MB / 373.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.263, allocations: 6.156 kB / 373.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.2631, allocations: 24.52 kB / 373.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.2631, allocations: 19.02 kB / 373.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.2642, allocations: 0.5272 MB / 373.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.2675, allocations: 2.556 MB / 376.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/0.2684, allocations: 472.7 kB / 376.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.2689, allocations: 284.7 kB / 377 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.269, allocations: 12.62 kB / 377 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.269, allocations: 45.02 kB / 377.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.269, allocations: 0 / 377.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.003947/0.273, allocations: 1.434 MB / 378.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.273, allocations: 58.72 kB / 378.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2741, allocations: 0.9713 MB / 379.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.2742, allocations: 36.64 kB / 379.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.2744, allocations: 408.6 kB / 379.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2745, allocations: 224.5 kB / 380.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.2747, allocations: 123.6 kB / 380.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.2747, allocations: 331.8 kB / 380.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.2752, allocations: 226.5 kB / 380.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.2758, allocations: 329.2 kB / 381.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.2768, allocations: 0.5457 MB / 381.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2768, allocations: 9.531 kB / 381.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001361/0.2781, allocations: 0.7095 MB / 382.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2782, allocations: 6.641 kB / 382.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2782, allocations: 2.406 kB / 382.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2782, allocations: 4.406 kB / 382.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.279, allocations: 166.4 kB / 382.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.279, allocations: 6.203 kB / 382.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.2795, allocations: 37.12 kB / 382.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.2795, allocations: 29.33 kB / 382.7 MB, free: 14.93 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.0003055/0.2799, allocations: 268.3 kB / 382.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.28, allocations: 83.39 kB / 383 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.2812, allocations: 0.607 MB / 383.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2812, allocations: 7.438 kB / 383.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2812, allocations: 0 / 383.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.2813, allocations: 8.422 kB / 383.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.2838, allocations: 1.792 MB / 385.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2839, allocations: 2.375 kB / 385.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.2844, allocations: 127.9 kB / 385.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.2844, allocations: 4.812 kB / 385.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.2844, allocations: 15.11 kB / 385.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.2845, allocations: 11 kB / 385.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2845, allocations: 10.19 kB / 385.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2856, allocations: 0.717 MB / 386.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.2858, allocations: 213.9 kB / 386.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.2859, allocations: 17.95 kB / 386.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.2863, allocations: 29.44 kB / 386.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.2864, allocations: 51.34 kB / 386.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.2865, allocations: 19.52 kB / 386.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007695/0.2872, allocations: 0.7043 MB / 387.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2872, allocations: 4 kB / 387.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.2878, allocations: 157.4 kB / 387.5 MB, free: 12.36 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.001207/0.289, allocations: 368 kB / 387.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.2905, allocations: 0.5831 MB / 388.4 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2905, allocations: 0 / 388.4 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.291, allocations: 281.2 kB / 388.7 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.0008456/0.2919, allocations: 152 kB / 388.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.2942, allocations: 1.646 MB / 390.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2946, allocations: 0.9698 MB / 391.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.2948, allocations: 62.81 kB / 391.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2948, allocations: 0 / 391.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Templates: time 0.01218/0.307, allocations: 10.05 MB / 401.6 MB, free: 3.016 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.1.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