Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009801/0.0009801, allocations: 182.7 kB / 18.04 MB, free: 3.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 224.2 MB, free: 8.926 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.0007582/0.0007582, allocations: 86.36 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.091/0.2864, allocations: 87.06 MB / 464.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.2866, allocations: 87.95 kB / 464.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0424/0.3291, allocations: 15.88 MB / 480.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3291, allocations: 0 / 480.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.296e-05/0.3292, allocations: 20 kB / 480.1 MB, free: 9.441 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.002014/0.3312, allocations: 1.067 MB / 481.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3312, allocations: 12.03 kB / 481.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.3314, allocations: 99.8 kB / 481.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.3322, allocations: 0.5629 MB / 481.8 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3324, allocations: 49.88 kB / 481.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.3325, allocations: 56.38 kB / 481.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3337, allocations: 0.668 MB / 482.6 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3337, allocations: 3.938 kB / 482.6 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.3338, allocations: 24 kB / 482.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3338, allocations: 16 kB / 482.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3351, allocations: 0.6141 MB / 483.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.339, allocations: 2.666 MB / 485.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.34, allocations: 0.5011 MB / 486.4 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.3407, allocations: 314 kB / 486.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.3408, allocations: 16.36 kB / 486.7 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3408, allocations: 42.94 kB / 486.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.3408, allocations: 4 kB / 486.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.004582/0.3454, allocations: 1.737 MB / 488.5 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3455, allocations: 55.97 kB / 488.6 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.3468, allocations: 0.938 MB / 489.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3468, allocations: 37.7 kB / 489.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3471, allocations: 396 kB / 489.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3473, allocations: 228.7 kB / 490.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3474, allocations: 16 kB / 490.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3475, allocations: 330 kB / 490.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.3482, allocations: 285.7 kB / 490.8 MB, free: 14.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.3489, allocations: 379.1 kB / 491.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.3501, allocations: 0.6302 MB / 491.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3502, allocations: 3.938 kB / 491.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001673/0.3518, allocations: 0.8009 MB / 492.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3519, allocations: 11.88 kB / 492.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3519, allocations: 4 kB / 492.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3519, allocations: 4 kB / 492.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.3527, allocations: 195.8 kB / 492.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.3528, allocations: 11.98 kB / 492.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/0.3534, allocations: 63.95 kB / 492.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.3535, allocations: 20 kB / 492.9 MB, free: 12.24 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.0003744/0.3539, allocations: 269.6 kB / 493.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.354, allocations: 83 kB / 493.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3555, allocations: 0.7023 MB / 493.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3555, allocations: 12 kB / 493.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3555, allocations: 0 / 493.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.3556, allocations: 3.984 kB / 493.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.3588, allocations: 1.999 MB / 495.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3588, allocations: 4.344 kB / 495.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.3595, allocations: 151.8 kB / 496.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.3595, allocations: 4 kB / 496.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.3595, allocations: 16 kB / 496.1 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.3595, allocations: 4 kB / 496.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3596, allocations: 4 kB / 496.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.361, allocations: 0.8263 MB / 496.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.3613, allocations: 244 kB / 497.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3615, allocations: 16 kB / 497.2 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.362, allocations: 59.95 kB / 497.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3621, allocations: 48.38 kB / 497.3 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.3621, allocations: 20 kB / 497.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009218/0.3631, allocations: 0.6786 MB / 498 MB, free: 6.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3631, allocations: 0 / 498 MB, free: 6.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006262/0.3637, allocations: 191.9 kB / 498.2 MB, free: 6.719 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.0007864/0.3645, allocations: 389.4 kB / 498.6 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.366, allocations: 0.6484 MB / 499.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.366, allocations: 0 / 499.2 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.3667, allocations: 340 kB / 499.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3678, allocations: 123.5 kB / 499.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.3708, allocations: 1.951 MB / 0.4899 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.3714, allocations: 0.9673 MB / 0.4908 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005522/0.3719, allocations: 109 kB / 0.4909 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3722, allocations: 67.34 kB / 0.491 GB, free: 2.062 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3722, allocations: 0 / 0.491 GB, free: 2.062 MB / 378.7 MB Notification: Performance of Templates: time 0.1541/0.5263, allocations: 8.013 MB / 0.4988 GB, free: 104.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches