Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.9 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 192.5 kB / 18.67 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009537/0.0009537, allocations: 48.06 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2508, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005778/0.2566, allocations: 4.581 MB / 406 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.259, allocations: 1.8 MB / 407.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.2593, allocations: 15.94 kB / 407.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.2599, allocations: 422.2 kB / 408.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.2606, allocations: 417.7 kB / 408.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.2611, allocations: 323.4 kB / 408.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.262, allocations: 1.017 MB / 409.9 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.2624, allocations: 302.6 kB / 410.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.2628, allocations: 406.6 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.2634, allocations: 0.5061 MB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2635, allocations: 96 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2637, allocations: 124 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.2639, allocations: 239.1 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2642, allocations: 461.6 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.2652, allocations: 1.27 MB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2652, allocations: 7.938 kB / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2652, allocations: 0 / 413.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2652, allocations: 0 / 413.3 MB, free: 12.9 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001973/0.2672, allocations: 1.191 MB / 414.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2673, allocations: 8.031 kB / 414.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2674, allocations: 107.7 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.2682, allocations: 0.5551 MB / 415.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.2683, allocations: 45.69 kB / 415.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.2684, allocations: 64.12 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.2695, allocations: 0.6402 MB / 415.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2695, allocations: 11.83 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.2696, allocations: 28 kB / 416 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2696, allocations: 12 kB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2708, allocations: 0.5556 MB / 416.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.2742, allocations: 2.528 MB / 419.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.2751, allocations: 480.6 kB / 419.5 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.2758, allocations: 303.3 kB / 419.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.2758, allocations: 8.438 kB / 419.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.2759, allocations: 38.94 kB / 419.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.2759, allocations: 0 / 419.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004132/0.28, allocations: 1.492 MB / 421.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2801, allocations: 59.97 kB / 421.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.281, allocations: 0.9418 MB / 422.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.2811, allocations: 33.7 kB / 422.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.2814, allocations: 404 kB / 422.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2815, allocations: 205 kB / 423 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.2817, allocations: 122.6 kB / 423.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2818, allocations: 334 kB / 423.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.2824, allocations: 241.9 kB / 423.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.283, allocations: 347 kB / 424 MB, free: 1.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2841, allocations: 0.5635 MB / 424.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2841, allocations: 0 / 424.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001405/0.2855, allocations: 0.7266 MB / 425.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2855, allocations: 15.88 kB / 425.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2855, allocations: 3.984 kB / 425.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2855, allocations: 8 kB / 425.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/0.2863, allocations: 180 kB / 425.5 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2863, allocations: 7.938 kB / 425.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.2868, allocations: 43.95 kB / 425.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2869, allocations: 20 kB / 425.6 MB, free: 272 kB / 334.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 (83): * Single equations (assignments): 83 * 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.0003163/0.2872, allocations: 265.8 kB / 425.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2873, allocations: 82.91 kB / 425.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.2886, allocations: 0.632 MB / 426.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2887, allocations: 4 kB / 426.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2887, allocations: 7.938 kB / 426.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2887, allocations: 11.92 kB / 426.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.2914, allocations: 1.795 MB / 428.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2915, allocations: 7.938 kB / 428.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.292, allocations: 127.8 kB / 428.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.292, allocations: 4 kB / 428.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.2921, allocations: 19.98 kB / 428.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.2921, allocations: 7.938 kB / 428.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2921, allocations: 4.281 kB / 428.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2933, allocations: 0.7509 MB / 429.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2936, allocations: 204 kB / 429.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.2937, allocations: 19.98 kB / 429.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.2941, allocations: 35.97 kB / 429.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.2942, allocations: 40.39 kB / 429.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.2942, allocations: 23.92 kB / 429.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007339/0.295, allocations: 0.6942 MB / 430.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.295, allocations: 0 / 430.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.2955, allocations: 144 kB / 430.4 MB, free: 11.2 MB / 350.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 (61): * Single equations (assignments): 61 * 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.000773/0.2963, allocations: 378.3 kB / 430.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2975, allocations: 0.581 MB / 431.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2976, allocations: 0 / 431.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.2982, allocations: 295.3 kB / 431.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.2989, allocations: 138.6 kB / 431.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3013, allocations: 1.61 MB / 433.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.3018, allocations: 0.963 MB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.302, allocations: 59.42 kB / 434.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.302, allocations: 0 / 434.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Templates: time 0.01461/0.3166, allocations: 9.982 MB / 444.4 MB, free: 13.27 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches