Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.948e-05, allocations: 6.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00672/0.00675, allocations: 4.27 MB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.01071, allocations: 1.89 MB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.01123, allocations: 11.94 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.01227, allocations: 422.1 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.01355, allocations: 481.2 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.01432, allocations: 323.3 kB / 279.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.01568, allocations: 1.071 MB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.01631, allocations: 199 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.01724, allocations: 0.6042 MB / 281.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.01789, allocations: 442.9 kB / 282 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.01804, allocations: 100 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.01829, allocations: 136 kB / 282.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.01856, allocations: 243.1 kB / 282.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.01893, allocations: 299.2 kB / 282.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.02054, allocations: 1.324 MB / 284.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.02054, allocations: 0 / 284.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.761e-06/0.02055, allocations: 3.984 kB / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.02056, allocations: 0 / 284.1 MB, free: 6.02 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002363/0.02292, allocations: 1.154 MB / 285.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.02296, allocations: 12.03 kB / 285.2 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000678/0.02364, allocations: 180.2 kB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.02473, allocations: 0.5304 MB / 285.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.02479, allocations: 41.69 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.0249, allocations: 64.12 kB / 286 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.02626, allocations: 0.6653 MB / 286.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.02628, allocations: 0 / 286.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.02634, allocations: 24 kB / 286.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.02636, allocations: 16 kB / 286.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.02757, allocations: 0.5165 MB / 287.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.03149, allocations: 2.025 MB / 289.3 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.03247, allocations: 449.1 kB / 289.7 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1114/0.1439, allocations: 258 kB / 290 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.499e-05/0.1439, allocations: 12.36 kB / 290 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.144, allocations: 39.06 kB / 290 MB, free: 28.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.853e-06/0.144, allocations: 0 / 290 MB, free: 28.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004281/0.1482, allocations: 1.475 MB / 291.5 MB, free: 28.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1483, allocations: 59.16 kB / 291.6 MB, free: 28.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1493, allocations: 0.9095 MB / 292.5 MB, free: 27.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.1493, allocations: 37.8 kB / 292.5 MB, free: 27.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1495, allocations: 416 kB / 292.9 MB, free: 27.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1496, allocations: 224.1 kB / 293.1 MB, free: 27.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1498, allocations: 119.6 kB / 293.3 MB, free: 27.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1499, allocations: 386.6 kB / 293.6 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.1504, allocations: 230.1 kB / 293.9 MB, free: 26.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.151, allocations: 329.9 kB / 294.2 MB, free: 26.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.152, allocations: 0.5452 MB / 294.7 MB, free: 26.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.152, allocations: 1.281 kB / 294.7 MB, free: 26.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001395/0.1534, allocations: 0.7334 MB / 295.5 MB, free: 26.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1534, allocations: 9.812 kB / 295.5 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1534, allocations: 1.469 kB / 295.5 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1534, allocations: 6.5 kB / 295.5 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/0.1542, allocations: 180 kB / 295.7 MB, free: 26.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1542, allocations: 5.484 kB / 295.7 MB, free: 26.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.1547, allocations: 28.83 kB / 295.7 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.1547, allocations: 27.56 kB / 295.7 MB, free: 26.06 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 (85): * Single equations (assignments): 85 * 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.0002961/0.155, allocations: 269.5 kB / 296 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.1552, allocations: 100.7 kB / 296.1 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1564, allocations: 0.6096 MB / 296.7 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1564, allocations: 5.594 kB / 296.7 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1564, allocations: 1.875 kB / 296.7 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1564, allocations: 6.469 kB / 296.7 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.1589, allocations: 1.471 MB / 298.2 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.1589, allocations: 2.703 kB / 298.2 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.1595, allocations: 132.2 kB / 298.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.1595, allocations: 4.312 kB / 298.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1595, allocations: 15.19 kB / 298.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1595, allocations: 9.266 kB / 298.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1595, allocations: 2.906 kB / 298.3 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1606, allocations: 0.7392 MB / 299.1 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.1608, allocations: 127.5 kB / 299.2 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.1609, allocations: 19.3 kB / 299.2 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1613, allocations: 29.52 kB / 299.2 MB, free: 24.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1615, allocations: 45.55 kB / 299.3 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.1615, allocations: 23.59 kB / 299.3 MB, free: 24.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000679/0.1622, allocations: 0.658 MB / 300 MB, free: 23.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1622, allocations: 0 / 300 MB, free: 23.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.1627, allocations: 152.1 kB / 300.1 MB, free: 23.87 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 (63): * Single equations (assignments): 63 * 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.001627/0.1643, allocations: 405.6 kB / 300.5 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1655, allocations: 0.53 MB / 301 MB, free: 23.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1655, allocations: 1.656 kB / 301 MB, free: 23.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.166, allocations: 256.7 kB / 301.3 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.1667, allocations: 144.8 kB / 301.4 MB, free: 23.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1689, allocations: 1.587 MB / 303 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1692, allocations: 374.8 kB / 303.4 MB, free: 22.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.1696, allocations: 92.42 kB / 303.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.1697, allocations: 61.25 kB / 303.5 MB, free: 22.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1697, allocations: 0 / 303.5 MB, free: 22.44 MB / 266.7 MB Notification: Performance of Templates: time 0.01197/0.1817, allocations: 7.799 MB / 311.3 MB, free: 15.62 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.756267705000937]