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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9717/0.9717, allocations: 173.4 MB / 201.1 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.856e-05, allocations: 2.312 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006704/0.006732, allocations: 4.593 MB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.01046, allocations: 1.78 MB / 274.3 MB, free: 32 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.0109, allocations: 15.88 kB / 274.4 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.01173, allocations: 410.3 kB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009249/0.01265, allocations: 445.4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.01335, allocations: 323.3 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009984/0.01435, allocations: 1.043 MB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.01464, allocations: 191.1 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.01523, allocations: 0.5925 MB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.01566, allocations: 447 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.01576, allocations: 96 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.01592, allocations: 123.9 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01608, allocations: 235.2 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01631, allocations: 295.2 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.01723, allocations: 0.6968 MB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01723, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01724, allocations: 7.938 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.01725, allocations: 0 / 279.2 MB, free: 11.14 MB / 266.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.001545/0.0188, allocations: 1.227 MB / 280.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.01884, allocations: 8.922 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.01902, allocations: 152.3 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.01956, allocations: 499.9 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.0196, allocations: 45.69 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.01967, allocations: 68.33 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.02051, allocations: 0.5146 MB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.02053, allocations: 7.938 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.02057, allocations: 24 kB / 281.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.02058, allocations: 19.94 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.021, allocations: 263.7 kB / 282 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.02321, allocations: 2.018 MB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.02363, allocations: 279.1 kB / 284.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.02394, allocations: 184.2 kB / 284.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.02398, allocations: 12.44 kB / 284.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.02401, allocations: 49.83 kB / 284.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.02402, allocations: 0 / 284.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001927/0.02594, allocations: 0.9848 MB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.02598, allocations: 63.84 kB / 285.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.02652, allocations: 0.7181 MB / 286.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.02655, allocations: 33.7 kB / 286.3 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.02676, allocations: 467.3 kB / 286.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.02688, allocations: 214.1 kB / 287 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.02702, allocations: 128.3 kB / 287.1 MB, free: 2.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.02719, allocations: 0.5703 MB / 287.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.02737, allocations: 97.94 kB / 287.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.02759, allocations: 235.4 kB / 288 MB, free: 2.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.02799, allocations: 341.2 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02799, allocations: 0 / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005881/0.02858, allocations: 0.4967 MB / 288.9 MB, free: 1.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.02859, allocations: 4 kB / 288.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0286, allocations: 4 kB / 288.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.02862, allocations: 4 kB / 288.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.02901, allocations: 159.8 kB / 289 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.02901, allocations: 8.219 kB / 289 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.0292, allocations: 35.98 kB / 289.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.02923, allocations: 23.98 kB / 289.1 MB, free: 0.9102 MB / 266.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.000149/0.02938, allocations: 192.4 kB / 289.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.02947, allocations: 103.4 kB / 289.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.03, allocations: 401.3 kB / 289.8 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.03001, allocations: 11.98 kB / 289.8 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.03001, allocations: 3.938 kB / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03002, allocations: 0 / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1236/0.1536, allocations: 1.322 MB / 291.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1536, allocations: 2.375 kB / 291.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.154, allocations: 123 kB / 291.2 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.154, allocations: 6.641 kB / 291.2 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.154, allocations: 14.53 kB / 291.3 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.154, allocations: 5.766 kB / 291.3 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.154, allocations: 4.5 kB / 291.3 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.1546, allocations: 0.6243 MB / 291.9 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.1548, allocations: 126 kB / 292 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.1548, allocations: 16.19 kB / 292 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.155, allocations: 33.48 kB / 292.1 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.1551, allocations: 46.95 kB / 292.1 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1551, allocations: 20.11 kB / 292.1 MB, free: 27.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003935/0.1555, allocations: 476.5 kB / 292.6 MB, free: 27.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1555, allocations: 4.734 kB / 292.6 MB, free: 27.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.1559, allocations: 148.4 kB / 292.7 MB, free: 27.71 MB / 266.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.0007141/0.1566, allocations: 345.8 kB / 293.1 MB, free: 27.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.1572, allocations: 350.7 kB / 293.4 MB, free: 27.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1572, allocations: 0.5 kB / 293.4 MB, free: 27.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1574, allocations: 179.2 kB / 293.6 MB, free: 27.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1579, allocations: 144 kB / 293.7 MB, free: 27.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1596, allocations: 1.358 MB / 295.1 MB, free: 26.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1597, allocations: 168.2 kB / 295.3 MB, free: 26.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000248/0.16, allocations: 92.66 kB / 295.4 MB, free: 26.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1601, allocations: 58.08 kB / 295.4 MB, free: 26.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1601, allocations: 0 / 295.4 MB, free: 26.77 MB / 266.7 MB Notification: Performance of Templates: time 0.01249/0.1726, allocations: 7.942 MB / 303.4 MB, free: 24.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.964980763848871]