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.0008544/0.0008544, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003257/0.003257, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 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 0.8596/0.8596, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.383e-06/1.383e-06, allocations: 3.938 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.511e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00414/0.004165, allocations: 4.262 MB / 330.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.006256, allocations: 1.905 MB / 332 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.006478, allocations: 15.88 kB / 332 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.007026, allocations: 426.1 kB / 332.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.007577, allocations: 477.3 kB / 332.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.007952, allocations: 327 kB / 333.2 MB, free: 8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.008615, allocations: 1.071 MB / 334.3 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.008865, allocations: 199 kB / 334.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.009327, allocations: 0.6004 MB / 335.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.009674, allocations: 446.9 kB / 335.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.009747, allocations: 100 kB / 335.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.009873, allocations: 127.9 kB / 335.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01001, allocations: 247.1 kB / 336 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.01035, allocations: 303.2 kB / 336.3 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008331/0.01118, allocations: 1.316 MB / 337.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01118, allocations: 0 / 337.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01119, allocations: 0 / 337.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.01119, allocations: 0 / 337.6 MB, free: 3.609 MB / 298.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.001192/0.01239, allocations: 1.154 MB / 338.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.01242, allocations: 8.031 kB / 338.8 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.01267, allocations: 140.2 kB / 338.9 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.01323, allocations: 0.5186 MB / 339.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.01327, allocations: 45.69 kB / 339.5 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.01334, allocations: 64.12 kB / 339.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.01402, allocations: 0.6536 MB / 340.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.01404, allocations: 4 kB / 340.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.01408, allocations: 24 kB / 340.2 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.01409, allocations: 16 kB / 340.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.01473, allocations: 0.5165 MB / 340.7 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.01677, allocations: 2.013 MB / 342.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.01733, allocations: 441.1 kB / 343.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.01785, allocations: 266.2 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.01788, allocations: 8.484 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.0179, allocations: 39.06 kB / 343.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.693e-06/0.0179, allocations: 0 / 343.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002258/0.02016, allocations: 1.459 MB / 344.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.0202, allocations: 60 kB / 345 MB, free: 12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.02083, allocations: 0.9104 MB / 345.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.02086, allocations: 33.7 kB / 345.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.02104, allocations: 420.5 kB / 346.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.02115, allocations: 218.1 kB / 346.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.02127, allocations: 118.6 kB / 346.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02138, allocations: 390.8 kB / 347.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.02168, allocations: 229.9 kB / 347.3 MB, free: 9.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.02201, allocations: 323.1 kB / 347.6 MB, free: 9.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.02262, allocations: 0.5483 MB / 348.2 MB, free: 8.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02263, allocations: 0 / 348.2 MB, free: 8.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007957/0.02342, allocations: 0.7075 MB / 348.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.02344, allocations: 8 kB / 348.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02344, allocations: 3.938 kB / 348.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.02346, allocations: 8.281 kB / 348.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.02382, allocations: 171.8 kB / 349 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.02383, allocations: 4 kB / 349.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.02403, allocations: 35.97 kB / 349.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.02405, allocations: 23.94 kB / 349.1 MB, free: 7.789 MB / 314.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.0002167/0.02427, allocations: 273.6 kB / 349.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.02433, allocations: 79.48 kB / 349.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.02505, allocations: 0.6105 MB / 350.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.02506, allocations: 8 kB / 350.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02506, allocations: 0 / 350.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02507, allocations: 7.922 kB / 350.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.02666, allocations: 1.463 MB / 351.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02667, allocations: 4 kB / 351.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.02692, allocations: 123.8 kB / 351.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.02692, allocations: 4 kB / 351.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.02695, allocations: 19.94 kB / 351.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.02695, allocations: 7.984 kB / 351.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.02696, allocations: 7.938 kB / 351.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.02761, allocations: 0.7263 MB / 352.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.02775, allocations: 123.4 kB / 352.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.02779, allocations: 15.94 kB / 352.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.02797, allocations: 31.97 kB / 352.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.02804, allocations: 44.42 kB / 352.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.02807, allocations: 23.98 kB / 352.7 MB, free: 4.078 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004374/0.0285, allocations: 0.6552 MB / 353.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0285, allocations: 0 / 353.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.02882, allocations: 156 kB / 353.5 MB, free: 3.273 MB / 314.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.0006086/0.02943, allocations: 405.4 kB / 353.9 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.03008, allocations: 0.5157 MB / 354.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03009, allocations: 4.562 kB / 354.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.03042, allocations: 266.6 kB / 354.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.03088, allocations: 136.4 kB / 354.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.03247, allocations: 1.597 MB / 356.4 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.03269, allocations: 371.8 kB / 356.7 MB, free: 56 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.03284, allocations: 72.52 kB / 356.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03284, allocations: 0 / 356.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of Templates: time 0.008298/0.04114, allocations: 10.25 MB / 367.1 MB, free: 5.77 MB / 330.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.838089224882424]