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.001054/0.001054, allocations: 103.4 kB / 16.62 MB, free: 6.809 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.001068/0.001068, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.000988, allocations: 43.06 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08622, allocations: 49.44 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00634/0.0926, allocations: 4.602 MB / 354.2 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.09549, allocations: 1.773 MB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.09588, allocations: 19.88 kB / 356 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.09658, allocations: 390.8 kB / 356.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.09727, allocations: 382.1 kB / 356.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.09783, allocations: 293.6 kB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008866/0.09872, allocations: 1.016 MB / 358 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.09911, allocations: 294.8 kB / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.09948, allocations: 406.7 kB / 358.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.09997, allocations: 0.5061 MB / 359.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1001, allocations: 96 kB / 359.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1003, allocations: 132 kB / 359.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1005, allocations: 235.2 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.1008, allocations: 465.6 kB / 360.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000963/0.1018, allocations: 1.25 MB / 361.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1018, allocations: 0 / 361.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1018, allocations: 0 / 361.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1018, allocations: 0 / 361.4 MB, free: 8.914 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002041/0.1039, allocations: 1.211 MB / 362.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1039, allocations: 8.031 kB / 362.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1041, allocations: 95.81 kB / 362.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.1048, allocations: 0.5589 MB / 363.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1049, allocations: 53.86 kB / 363.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/0.105, allocations: 63.94 kB / 363.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1062, allocations: 0.6441 MB / 364 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1063, allocations: 4 kB / 364 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1063, allocations: 20 kB / 364 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1064, allocations: 16 kB / 364 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1076, allocations: 0.5594 MB / 364.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.111, allocations: 2.548 MB / 367.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/0.1119, allocations: 473.7 kB / 367.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.1126, allocations: 301.2 kB / 367.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1127, allocations: 4.438 kB / 367.9 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1127, allocations: 39 kB / 367.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.1127, allocations: 0 / 367.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00424/0.1169, allocations: 1.488 MB / 369.4 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.117, allocations: 59.97 kB / 369.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1439/0.2609, allocations: 0.9406 MB / 370.4 MB, free: 25.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.261, allocations: 33.77 kB / 370.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2612, allocations: 402.6 kB / 370.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2614, allocations: 207.4 kB / 371.1 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.2616, allocations: 121.1 kB / 371.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.2617, allocations: 332.4 kB / 371.5 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.2623, allocations: 247.7 kB / 371.7 MB, free: 24.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.2629, allocations: 343.3 kB / 372.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.2641, allocations: 0.5742 MB / 372.7 MB, free: 24.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2641, allocations: 0 / 372.7 MB, free: 24.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001544/0.2657, allocations: 0.725 MB / 373.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2657, allocations: 10 kB / 373.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2657, allocations: 3.172 kB / 373.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2657, allocations: 4.75 kB / 373.4 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.2665, allocations: 181.8 kB / 373.6 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2665, allocations: 6.141 kB / 373.6 MB, free: 24.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.2671, allocations: 45.81 kB / 373.6 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.2671, allocations: 24.62 kB / 373.7 MB, free: 24.12 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 (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.0002781/0.2674, allocations: 264.2 kB / 373.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2675, allocations: 81.75 kB / 374 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2689, allocations: 0.6372 MB / 374.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2689, allocations: 9.438 kB / 374.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2689, allocations: 1.375 kB / 374.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2689, allocations: 3.984 kB / 374.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.2715, allocations: 1.817 MB / 376.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2715, allocations: 3.078 kB / 376.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.2721, allocations: 133.5 kB / 376.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.2721, allocations: 4 kB / 376.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.2722, allocations: 20.08 kB / 376.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.2722, allocations: 6.406 kB / 376.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2722, allocations: 6.062 kB / 376.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.2734, allocations: 0.7498 MB / 377.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.2736, allocations: 205.7 kB / 377.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.2737, allocations: 16.94 kB / 377.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2742, allocations: 36.94 kB / 377.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.2743, allocations: 45.14 kB / 377.7 MB, free: 21.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.2743, allocations: 19.84 kB / 377.7 MB, free: 21.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007725/0.2751, allocations: 0.6873 MB / 378.4 MB, free: 21.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2751, allocations: 0 / 378.4 MB, free: 21.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.2757, allocations: 157.6 kB / 378.5 MB, free: 21.61 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 (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.000804/0.2765, allocations: 377.7 kB / 378.9 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.278, allocations: 0.6179 MB / 379.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.278, allocations: 0 / 379.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.2786, allocations: 291.5 kB / 379.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.2793, allocations: 127.4 kB / 379.9 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.2818, allocations: 1.881 MB / 381.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.2823, allocations: 0.9639 MB / 382.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.2827, allocations: 90.8 kB / 382.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.2829, allocations: 57.77 kB / 382.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2829, allocations: 0 / 382.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01255/0.2954, allocations: 7.507 MB / 390.4 MB, free: 16.66 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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