Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.6/2.6, allocations: 205.4 MB / 223.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 91.34 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006508, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4666, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.6409, allocations: 87.06 MB / 462.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005074/0.6415, allocations: 87.95 kB / 462.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06201/0.7035, allocations: 15.87 MB / 478.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.7036, allocations: 0 / 478.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.296e-05/0.7037, allocations: 20 kB / 478.8 MB, free: 9.527 MB / 362.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.00391/0.7076, allocations: 1.078 MB / 479.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.366e-05/0.7077, allocations: 8.031 kB / 479.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.7081, allocations: 95.81 kB / 479.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.7096, allocations: 0.559 MB / 480.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.7098, allocations: 49.88 kB / 480.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.71, allocations: 64.38 kB / 480.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.712, allocations: 0.6719 MB / 481.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.7121, allocations: 3.938 kB / 481.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.7122, allocations: 24 kB / 481.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.7122, allocations: 16 kB / 481.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.7143, allocations: 0.6063 MB / 481.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/0.7213, allocations: 2.666 MB / 484.6 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.7229, allocations: 0.505 MB / 485.1 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.7239, allocations: 314.6 kB / 485.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-05/0.7241, allocations: 16.38 kB / 485.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.7241, allocations: 38.94 kB / 485.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 6.723e-06/0.7241, allocations: 0 / 485.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.007293/0.7315, allocations: 1.741 MB / 487.2 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.7316, allocations: 59.97 kB / 487.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.7339, allocations: 0.934 MB / 488.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.734, allocations: 33.7 kB / 488.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/0.7345, allocations: 404 kB / 488.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.7348, allocations: 228.7 kB / 488.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.7348, allocations: 20 kB / 488.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.7351, allocations: 337.8 kB / 489.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/0.736, allocations: 277.9 kB / 489.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.7372, allocations: 375.1 kB / 489.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.7391, allocations: 0.6341 MB / 490.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.7391, allocations: 0 / 490.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00259/0.7417, allocations: 0.8087 MB / 491.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.7418, allocations: 7.938 kB / 491.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.7418, allocations: 4 kB / 491.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.7419, allocations: 4 kB / 491.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7431, allocations: 191.8 kB / 491.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.7431, allocations: 4 kB / 491.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.7441, allocations: 63.94 kB / 491.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.7442, allocations: 28 kB / 491.6 MB, free: 12.32 MB / 378.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_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 initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008316/0.745, allocations: 269.6 kB / 491.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.7452, allocations: 83 kB / 491.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.7476, allocations: 0.7062 MB / 492.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7476, allocations: 8 kB / 492.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7476, allocations: 0 / 492.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7476, allocations: 3.984 kB / 492.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.7526, allocations: 1.999 MB / 494.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.7527, allocations: 4 kB / 494.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.7536, allocations: 156.1 kB / 494.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.7536, allocations: 4 kB / 494.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.7537, allocations: 16 kB / 494.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.7537, allocations: 4 kB / 494.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.7537, allocations: 4 kB / 494.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.7559, allocations: 0.8224 MB / 495.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.7565, allocations: 240 kB / 495.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.7567, allocations: 16 kB / 495.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/0.7574, allocations: 55.95 kB / 495.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.7576, allocations: 60.38 kB / 496 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.7577, allocations: 20 kB / 496 MB, free: 7.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.7592, allocations: 0.6747 MB / 496.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.907e-06/0.7592, allocations: 0 / 496.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001073/0.7603, allocations: 187.9 kB / 496.9 MB, free: 6.801 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.7617, allocations: 394.2 kB / 497.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.7639, allocations: 0.6484 MB / 497.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.7639, allocations: 0 / 497.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.765, allocations: 344 kB / 498.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.7668, allocations: 123.2 kB / 498.4 MB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.7719, allocations: 1.995 MB / 0.4886 GB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/0.773, allocations: 0.9635 MB / 0.4896 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.7735, allocations: 71.34 kB / 0.4896 GB, free: 2.199 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7735, allocations: 0 / 0.4896 GB, free: 2.199 MB / 378.7 MB Notification: Performance of Templates: time 0.3314/1.105, allocations: 10.35 MB / 0.4997 GB, free: 102.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches