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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 172.6 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 91.25 kB / 262.1 MB, free: 5.18 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.16e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0678/0.06782, allocations: 47.58 MB / 362.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.3143, allocations: 86.14 MB / 448.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.3146, allocations: 84.08 kB / 448.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03809/0.3527, allocations: 15.41 MB / 464.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/0.3527, allocations: 19.34 kB / 464.2 MB, free: 4.5 MB / 314.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.001595/0.3543, allocations: 0.9901 MB / 465.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3544, allocations: 8.938 kB / 465.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3545, allocations: 98.41 kB / 465.3 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007837/0.3553, allocations: 0.5288 MB / 465.8 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3555, allocations: 32.75 kB / 465.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.3555, allocations: 33.41 kB / 465.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008981/0.3564, allocations: 478.5 kB / 466.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/0.3574, allocations: 0.5273 MB / 466.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3574, allocations: 0 / 466.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.3575, allocations: 1.156 kB / 466.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3575, allocations: 18.42 kB / 466.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.3611, allocations: 2.54 MB / 469.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3616, allocations: 317.5 kB / 469.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.3621, allocations: 255.5 kB / 470 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.3622, allocations: 14.86 kB / 470 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3622, allocations: 41.09 kB / 470.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.913e-06/0.3622, allocations: 0 / 470.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.002438/0.3647, allocations: 0.9434 MB / 471 MB, free: 1.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3647, allocations: 63.25 kB / 471.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.366, allocations: 0.7536 MB / 471.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.366, allocations: 25.7 kB / 471.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3662, allocations: 302.9 kB / 472.1 MB, free: 0.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.3663, allocations: 217 kB / 472.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3664, allocations: 0 / 472.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.3665, allocations: 386.7 kB / 472.7 MB, free: 384 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.3668, allocations: 193.5 kB / 472.9 MB, free: 376 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.3672, allocations: 287.8 kB / 473.2 MB, free: 272 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.3675, allocations: 227.6 kB / 473.4 MB, free: 240 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3675, allocations: 3.938 kB / 473.4 MB, free: 236 kB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009735/0.3685, allocations: 0.604 MB / 474 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3685, allocations: 4 kB / 474 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3686, allocations: 4.281 kB / 474 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.3686, allocations: 8 kB / 474 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.3696, allocations: 203.5 kB / 474.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3696, allocations: 4 kB / 474.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.3702, allocations: 55.86 kB / 474.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.3703, allocations: 31.67 kB / 474.3 MB, free: 15.67 MB / 330.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 () * 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.0001574/0.3705, allocations: 118.4 kB / 474.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.3706, allocations: 79.06 kB / 474.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.3715, allocations: 0.5257 MB / 475 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3716, allocations: 8 kB / 475.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3716, allocations: 4 kB / 475.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3716, allocations: 3.984 kB / 475.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.3741, allocations: 1.735 MB / 476.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3741, allocations: 7.938 kB / 476.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.3749, allocations: 147.6 kB / 477 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.3749, allocations: 8 kB / 477 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.3749, allocations: 11.55 kB / 477 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.3749, allocations: 7.938 kB / 477 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.3749, allocations: 4 kB / 477 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009845/0.3759, allocations: 0.782 MB / 477.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3763, allocations: 236.5 kB / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3764, allocations: 7.984 kB / 478 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.377, allocations: 43.97 kB / 478 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3771, allocations: 51.98 kB / 478.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.3771, allocations: 19.88 kB / 478.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006555/0.3778, allocations: 0.593 MB / 478.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005926/0.3784, allocations: 151.9 kB / 478.9 MB, free: 11.88 MB / 330.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 () * 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.000593/0.379, allocations: 304.1 kB / 479.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.3798, allocations: 497 kB / 479.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3798, allocations: 0 / 479.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.3802, allocations: 263.9 kB / 479.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.3808, allocations: 91.25 kB / 480 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3831, allocations: 1.192 MB / 481.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/0.384, allocations: 1.057 MB / 482.2 MB, free: 8.883 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.384, allocations: 0 / 482.2 MB, free: 8.883 MB / 330.7 MB Notification: Performance of Templates: time 0.01488/0.3989, allocations: 8.22 MB / 490.5 MB, free: 0.6719 MB / 330.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/jenkins/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