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.002446/0.002446, allocations: 91.86 kB / 20.96 MB, free: 3.465 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.002686/0.002686, allocations: 149.1 kB / 24.27 MB, free: 168 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 1.54/1.54, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] 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 2.204e-06/2.204e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.227e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.01156/0.0116, allocations: 4.539 MB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005803/0.0174, allocations: 1.769 MB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.01803, allocations: 11.94 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.01935, allocations: 426.1 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.02106, allocations: 429.4 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.02225, allocations: 323.3 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.02436, allocations: 1.051 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.02492, allocations: 195 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.02613, allocations: 0.5848 MB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.02718, allocations: 447 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.02741, allocations: 96 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.02778, allocations: 124 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.02818, allocations: 243.2 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.02876, allocations: 299.2 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.03145, allocations: 1.301 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.03146, allocations: 4 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.03146, allocations: 0 / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.03147, allocations: 0 / 279.1 MB, free: 10.91 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.003742/0.03521, allocations: 1.312 MB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.03525, allocations: 8.922 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.0355, allocations: 152.3 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.03648, allocations: 0.5168 MB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.03653, allocations: 49.69 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.03664, allocations: 60.33 kB / 281.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.038, allocations: 0.7014 MB / 281.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.03802, allocations: 7.938 kB / 281.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.03809, allocations: 20 kB / 281.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.0381, allocations: 20 kB / 281.9 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.03932, allocations: 0.5088 MB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.04393, allocations: 2.62 MB / 285.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.04486, allocations: 443.1 kB / 285.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.04555, allocations: 279.9 kB / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.04561, allocations: 20.38 kB / 285.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.04565, allocations: 37.89 kB / 285.8 MB, free: 3.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.04565, allocations: 0 / 285.8 MB, free: 3.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.003718/0.04937, allocations: 1.317 MB / 287.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.04942, allocations: 59.84 kB / 287.2 MB, free: 2.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.05057, allocations: 0.8705 MB / 288.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.05063, allocations: 37.7 kB / 288.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.0511, allocations: 0.4914 MB / 288.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.05132, allocations: 230.2 kB / 288.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.05159, allocations: 156.3 kB / 289 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000428/0.05201, allocations: 0.6211 MB / 289.6 MB, free: 136 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09711/0.1491, allocations: 218.7 kB / 289.8 MB, free: 31.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.1498, allocations: 369 kB / 290.2 MB, free: 31.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.1507, allocations: 0.5642 MB / 290.7 MB, free: 31.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1507, allocations: 1.406 kB / 290.7 MB, free: 31.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001372/0.1521, allocations: 0.7048 MB / 291.4 MB, free: 31.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1521, allocations: 5.406 kB / 291.4 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1521, allocations: 4.109 kB / 291.5 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1522, allocations: 7.562 kB / 291.5 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.1529, allocations: 167.3 kB / 291.6 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1529, allocations: 9.969 kB / 291.6 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.1534, allocations: 29.53 kB / 291.7 MB, free: 31.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.1534, allocations: 29.89 kB / 291.7 MB, free: 31.16 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.0002799/0.1537, allocations: 254.7 kB / 291.9 MB, free: 30.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1538, allocations: 99.02 kB / 292 MB, free: 30.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.155, allocations: 0.5738 MB / 292.6 MB, free: 30.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.155, allocations: 7.047 kB / 292.6 MB, free: 30.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.155, allocations: 1.312 kB / 292.6 MB, free: 30.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.155, allocations: 4.453 kB / 292.6 MB, free: 30.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.1577, allocations: 1.719 MB / 294.3 MB, free: 29.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1578, allocations: 3.625 kB / 294.3 MB, free: 29.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.1583, allocations: 122.5 kB / 294.5 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1583, allocations: 4.844 kB / 294.5 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.1583, allocations: 18.48 kB / 294.5 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.1583, allocations: 10.64 kB / 294.5 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1583, allocations: 2.25 kB / 294.5 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1594, allocations: 0.8134 MB / 295.3 MB, free: 29.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.1597, allocations: 125.6 kB / 295.4 MB, free: 29.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.1597, allocations: 12.5 kB / 295.4 MB, free: 29.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.1601, allocations: 26.19 kB / 295.5 MB, free: 29.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1602, allocations: 53.69 kB / 295.5 MB, free: 29.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.1603, allocations: 19.06 kB / 295.5 MB, free: 29.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006733/0.1609, allocations: 0.5547 MB / 296.1 MB, free: 29.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1609, allocations: 3.562 kB / 296.1 MB, free: 29.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005872/0.1615, allocations: 148.6 kB / 296.2 MB, free: 29.08 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.002411/0.1639, allocations: 398.2 kB / 296.6 MB, free: 28.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1651, allocations: 0.5598 MB / 297.2 MB, free: 28.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1651, allocations: 1.156 kB / 297.2 MB, free: 28.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.1656, allocations: 293.2 kB / 297.5 MB, free: 28.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.1664, allocations: 144.2 kB / 297.6 MB, free: 28.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.1686, allocations: 1.474 MB / 299.1 MB, free: 27.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1689, allocations: 356.6 kB / 299.4 MB, free: 27.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.1693, allocations: 93.11 kB / 299.5 MB, free: 27.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1695, allocations: 50.72 kB / 299.6 MB, free: 27.61 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1695, allocations: 0 / 299.6 MB, free: 27.61 MB / 266.7 MB Notification: Performance of Templates: time 0.01264/0.1821, allocations: 7.497 MB / 307.1 MB, free: 23.27 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8843378650490195]