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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 93.66 kB / 16.95 MB, free: 6.441 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.001279/0.001279, allocations: 181.2 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007115/0.0007115, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1306, allocations: 47.59 MB / 328.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005099/0.1357, allocations: 3.904 MB / 332.3 MB, free: 156 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.1388, allocations: 1.638 MB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1391, allocations: 15.94 kB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.1399, allocations: 394.7 kB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007308/0.1406, allocations: 366.2 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.1412, allocations: 211.6 kB / 334.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.1423, allocations: 0.8916 MB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.1427, allocations: 220.2 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.1431, allocations: 326.8 kB / 336.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.1437, allocations: 434.3 kB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.1437, allocations: 36 kB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1439, allocations: 60 kB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.1441, allocations: 171.3 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1443, allocations: 181.2 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.1452, allocations: 0.9816 MB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1452, allocations: 0 / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.185e-06/0.1452, allocations: 4 kB / 338.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1452, allocations: 0 / 338.1 MB, free: 10.24 MB / 286.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.002061/0.1473, allocations: 1.086 MB / 339.2 MB, free: 9.105 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1474, allocations: 8.031 kB / 339.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.1475, allocations: 102.8 kB / 339.3 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.1484, allocations: 0.527 MB / 339.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/0.1485, allocations: 53.31 kB / 339.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.1486, allocations: 60 kB / 340 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.15, allocations: 0.6596 MB / 340.6 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.15, allocations: 3.906 kB / 340.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.1501, allocations: 24 kB / 340.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1501, allocations: 16 kB / 340.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1513, allocations: 0.5945 MB / 341.3 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.1549, allocations: 2.56 MB / 343.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.1559, allocations: 493.7 kB / 344.3 MB, free: 3.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.1565, allocations: 306.4 kB / 344.6 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.1566, allocations: 8.438 kB / 344.6 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.1566, allocations: 43 kB / 344.7 MB, free: 3.445 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.1567, allocations: 7.922 kB / 344.7 MB, free: 3.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004298/0.161, allocations: 1.645 MB / 346.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.161, allocations: 59.97 kB / 346.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.1622, allocations: 0.9418 MB / 347.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.1622, allocations: 41.7 kB / 347.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.1625, allocations: 400 kB / 347.7 MB, free: 328 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.1627, allocations: 208.9 kB / 348 MB, free: 116 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1627, allocations: 16 kB / 348 MB, free: 100 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1629, allocations: 330 kB / 348.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.1635, allocations: 261.9 kB / 348.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.1642, allocations: 375 kB / 348.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.1648, allocations: 291.1 kB / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1648, allocations: 0 / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001541/0.1664, allocations: 0.7736 MB / 350 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.1664, allocations: 8 kB / 350 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1664, allocations: 3.938 kB / 350 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1665, allocations: 8 kB / 350 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.1672, allocations: 183.8 kB / 350.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1672, allocations: 4 kB / 350.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.1677, allocations: 55.95 kB / 350.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.1678, allocations: 20 kB / 350.2 MB, free: 13.77 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_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 (83): * Single equations (assignments): 83 * 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.000373/0.1682, allocations: 273.6 kB / 350.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1683, allocations: 86.92 kB / 350.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.1697, allocations: 0.6671 MB / 351.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.1698, allocations: 4 kB / 351.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1698, allocations: 8 kB / 351.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1698, allocations: 3.984 kB / 351.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.1727, allocations: 1.848 MB / 353.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1727, allocations: 4 kB / 353.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.1733, allocations: 139.8 kB / 353.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.1733, allocations: 12.2 kB / 353.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.1734, allocations: 16 kB / 353.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.1734, allocations: 4 kB / 353.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1734, allocations: 11.88 kB / 353.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1747, allocations: 0.7772 MB / 354.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.175, allocations: 200 kB / 354.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.1751, allocations: 23.94 kB / 354.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.1755, allocations: 47.97 kB / 354.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.1756, allocations: 44.38 kB / 354.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.1756, allocations: 20 kB / 354.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008521/0.1765, allocations: 0.6826 MB / 355.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1765, allocations: 0 / 355.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005709/0.1771, allocations: 152 kB / 355.3 MB, free: 8.562 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 (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.000934/0.178, allocations: 373.4 kB / 355.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.1794, allocations: 0.6086 MB / 356.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.1794, allocations: 4 kB / 356.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.18, allocations: 311 kB / 356.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.1809, allocations: 130.8 kB / 356.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.1839, allocations: 1.867 MB / 358.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.1845, allocations: 0.9594 MB / 359.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004275/0.1849, allocations: 93.05 kB / 359.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1851, allocations: 51.42 kB / 359.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1851, allocations: 0 / 359.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of Templates: time 0.01486/0.2, allocations: 6.914 MB / 366.5 MB, free: 13.18 MB / 318.1 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