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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009976, allocations: 97.91 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009311/0.0009312, allocations: 35.95 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2344, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004571/0.239, allocations: 4.586 MB / 404.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2414, allocations: 1.779 MB / 405.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.2417, allocations: 8 kB / 405.8 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.2423, allocations: 402.7 kB / 406.2 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.2429, allocations: 386.1 kB / 406.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.2434, allocations: 295.4 kB / 406.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000618/0.2441, allocations: 0.9656 MB / 407.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.2444, allocations: 261 kB / 408.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.2446, allocations: 358.6 kB / 408.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.245, allocations: 474.2 kB / 408.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.2451, allocations: 52 kB / 409 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.2452, allocations: 71.98 kB / 409.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2453, allocations: 187.2 kB / 409.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.2456, allocations: 413.6 kB / 409.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.2462, allocations: 1.211 MB / 410.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2462, allocations: 0 / 410.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2462, allocations: 0 / 410.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2463, allocations: 0 / 410.9 MB, free: 21.95 MB / 298.7 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.001804/0.2481, allocations: 1.205 MB / 412.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2481, allocations: 12.03 kB / 412.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2482, allocations: 91.81 kB / 412.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.2489, allocations: 0.5551 MB / 412.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.249, allocations: 49.88 kB / 412.8 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.249, allocations: 67.92 kB / 412.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.25, allocations: 0.6479 MB / 413.5 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.25, allocations: 3.984 kB / 413.5 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.2501, allocations: 24 kB / 413.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2501, allocations: 16 kB / 413.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2512, allocations: 0.5594 MB / 414.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/0.2555, allocations: 2.54 MB / 416.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2567, allocations: 471.3 kB / 417.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000919/0.2577, allocations: 302 kB / 417.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.2577, allocations: 8.438 kB / 417.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2578, allocations: 39 kB / 417.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/0.2578, allocations: 0 / 417.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.005985/0.2638, allocations: 1.488 MB / 418.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2638, allocations: 67.95 kB / 419 MB, free: 13.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.2652, allocations: 0.9419 MB / 419.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.2653, allocations: 37.7 kB / 420 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.2655, allocations: 404 kB / 420.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2657, allocations: 205.1 kB / 420.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.266, allocations: 114.6 kB / 420.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.2661, allocations: 334 kB / 421 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/0.2669, allocations: 249.9 kB / 421.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.2678, allocations: 351 kB / 421.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.2695, allocations: 0.5713 MB / 422.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.2695, allocations: 0 / 422.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002167/0.2717, allocations: 0.7345 MB / 422.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2718, allocations: 8 kB / 422.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2718, allocations: 0 / 422.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2718, allocations: 8 kB / 422.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.2729, allocations: 175.7 kB / 423.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.2729, allocations: 8.062 kB / 423.1 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.2737, allocations: 43.95 kB / 423.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.2738, allocations: 20 kB / 423.1 MB, free: 9.277 MB / 298.7 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.000402/0.2742, allocations: 273.5 kB / 423.4 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2743, allocations: 83 kB / 423.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.2762, allocations: 0.6357 MB / 424.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2762, allocations: 8 kB / 424.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2762, allocations: 0 / 424.1 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2763, allocations: 11.92 kB / 424.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.2798, allocations: 1.812 MB / 426 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.2798, allocations: 4 kB / 426 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.2806, allocations: 131.8 kB / 426.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.2806, allocations: 4 kB / 426.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.2807, allocations: 19.98 kB / 426.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.2807, allocations: 8.312 kB / 426.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2807, allocations: 4 kB / 426.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.2835, allocations: 1.687 MB / 427.8 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.2838, allocations: 204.1 kB / 428 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2839, allocations: 8 kB / 428 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.2846, allocations: 47.94 kB / 428.1 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2847, allocations: 44.33 kB / 428.1 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.2848, allocations: 23.98 kB / 428.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000954/0.2858, allocations: 0.6826 MB / 428.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2858, allocations: 0 / 428.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001042/0.2868, allocations: 152 kB / 429 MB, free: 3.203 MB / 298.7 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.001101/0.2879, allocations: 372.8 kB / 429.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.2898, allocations: 0.577 MB / 429.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2898, allocations: 4.5 kB / 429.9 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.2906, allocations: 302.2 kB / 430.2 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.2919, allocations: 119.4 kB / 430.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.2956, allocations: 2.235 MB / 432.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.2964, allocations: 0.9789 MB / 433.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007372/0.2972, allocations: 97.03 kB / 433.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.2974, allocations: 51.42 kB / 433.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2975, allocations: 0 / 433.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Templates: time 0.02067/0.3181, allocations: 7.446 MB / 441.1 MB, free: 7.129 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches