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.0009693/0.0009693, allocations: 78.19 kB / 21.42 MB, free: 3.074 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.001103/0.001103, allocations: 151.1 kB / 24.81 MB, free: 9.32 MB / 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.9512/0.9512, allocations: 173.3 MB / 201.4 MB, free: 9.203 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 2.003e-06/2.003e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.864e-05, allocations: 6.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005227/0.005255, allocations: 4.5 MB / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.00784, allocations: 1.769 MB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.008151, allocations: 11.94 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.008723, allocations: 410.2 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.009475, allocations: 441.4 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.009991, allocations: 331.3 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008335/0.01082, allocations: 1.047 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.01109, allocations: 191.1 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.01159, allocations: 0.5849 MB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.01196, allocations: 451 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.968e-05/0.01205, allocations: 96 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.01219, allocations: 127.9 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01232, allocations: 235.2 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.0125, allocations: 295.2 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.01303, allocations: 0.7007 MB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01304, allocations: 0 / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01304, allocations: 0 / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.01305, allocations: 0 / 279.5 MB, free: 11.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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001099/0.01414, allocations: 1.238 MB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.01418, allocations: 8.922 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.0143, allocations: 152.3 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.0147, allocations: 492 kB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.01473, allocations: 49.69 kB / 281.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.01479, allocations: 56.33 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.01528, allocations: 494.8 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01529, allocations: 15.92 kB / 282 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.01533, allocations: 24 kB / 282 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.01534, allocations: 16 kB / 282 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.01559, allocations: 209 kB / 282.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.01734, allocations: 1.901 MB / 284.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.01763, allocations: 258.8 kB / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.01784, allocations: 168 kB / 284.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.01787, allocations: 12.48 kB / 284.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01789, allocations: 45.83 kB / 284.6 MB, free: 5.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.01789, allocations: 0 / 284.6 MB, free: 5.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001251/0.01914, allocations: 0.8216 MB / 285.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.01917, allocations: 59.91 kB / 285.5 MB, free: 4.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.01961, allocations: 0.6904 MB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01963, allocations: 37.7 kB / 286.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.01987, allocations: 491 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.01998, allocations: 214.1 kB / 286.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.0201, allocations: 128.2 kB / 287 MB, free: 3.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.02026, allocations: 0.5819 MB / 287.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.02037, allocations: 77.92 kB / 287.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.02053, allocations: 207.4 kB / 287.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.02081, allocations: 301.2 kB / 288.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02081, allocations: 0 / 288.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005476/0.02136, allocations: 460.6 kB / 288.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.02137, allocations: 8 kB / 288.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.02138, allocations: 0 / 288.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.02139, allocations: 8 kB / 288.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.02174, allocations: 159.8 kB / 288.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.02175, allocations: 8 kB / 288.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.02193, allocations: 32.14 kB / 288.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.02196, allocations: 23.98 kB / 288.9 MB, free: 1.32 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.0001412/0.0221, allocations: 196.4 kB / 289.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.02218, allocations: 95.53 kB / 289.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.02258, allocations: 373.2 kB / 289.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.02258, allocations: 8 kB / 289.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02258, allocations: 0 / 289.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.02259, allocations: 7.922 kB / 289.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1156/0.1382, allocations: 1.175 MB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1382, allocations: 3.094 kB / 290.7 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.1386, allocations: 125.3 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.1386, allocations: 5.156 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1386, allocations: 15.16 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/0.1386, allocations: 6.219 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1386, allocations: 4.125 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.1393, allocations: 0.6004 MB / 291.5 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.1395, allocations: 120.9 kB / 291.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.1396, allocations: 17.8 kB / 291.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1398, allocations: 25.38 kB / 291.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.1399, allocations: 50.73 kB / 291.7 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.1399, allocations: 18 kB / 291.7 MB, free: 27.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003996/0.1403, allocations: 437 kB / 292.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1403, allocations: 0.75 kB / 292.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005815/0.1409, allocations: 147.8 kB / 292.3 MB, free: 27.68 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.0007727/0.1417, allocations: 359.5 kB / 292.6 MB, free: 27.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1422, allocations: 303.2 kB / 292.9 MB, free: 27.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1422, allocations: 1.062 kB / 292.9 MB, free: 27.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1424, allocations: 166 kB / 293.1 MB, free: 27.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.143, allocations: 136.7 kB / 293.2 MB, free: 27.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1449, allocations: 1.341 MB / 294.6 MB, free: 26.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.145, allocations: 167.4 kB / 294.7 MB, free: 26.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.1453, allocations: 88.19 kB / 294.8 MB, free: 26.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.1456, allocations: 204.3 kB / 295 MB, free: 26.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1456, allocations: 0 / 295 MB, free: 26.68 MB / 266.7 MB Notification: Performance of Templates: time 0.014/0.1596, allocations: 8.158 MB / 303.2 MB, free: 24.55 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.8316048537380993]