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.001295/0.001295, allocations: 76.05 kB / 21.24 MB, free: 388 kB / 14.72 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.001349/0.001349, allocations: 159.1 kB / 24.48 MB, free: 3.453 MB / 14.72 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.386/1.386, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 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 0.001562/0.001562, allocations: 45.52 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0821/0.08366, allocations: 52.17 MB / 371.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006388/0.09005, allocations: 4.187 MB / 375.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.09313, allocations: 1.726 MB / 377.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.09355, allocations: 15.94 kB / 377.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.09436, allocations: 410.2 kB / 377.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009704/0.09533, allocations: 421.7 kB / 378.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.09608, allocations: 323 kB / 378.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.09738, allocations: 1.028 MB / 379.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.09773, allocations: 183.1 kB / 379.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.09823, allocations: 422.7 kB / 380.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.09884, allocations: 490.2 kB / 380.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.09898, allocations: 96 kB / 380.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.09921, allocations: 132 kB / 380.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.09943, allocations: 235.1 kB / 381.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.0998, allocations: 366.2 kB / 381.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.1011, allocations: 1.284 MB / 382.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1011, allocations: 0 / 382.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1011, allocations: 0 / 382.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1011, allocations: 0 / 382.8 MB, free: 12.08 MB / 350.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.00225/0.1034, allocations: 1.158 MB / 384 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1034, allocations: 12.92 kB / 384 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1036, allocations: 104.3 kB / 384.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.1045, allocations: 0.4914 MB / 384.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.1045, allocations: 45.69 kB / 384.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1046, allocations: 72.02 kB / 384.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1059, allocations: 0.6692 MB / 385.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1059, allocations: 4 kB / 385.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.106, allocations: 28 kB / 385.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.106, allocations: 12 kB / 385.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1073, allocations: 0.5555 MB / 386 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.1108, allocations: 1.998 MB / 388 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/0.1118, allocations: 454.4 kB / 388.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.1125, allocations: 286.1 kB / 388.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1125, allocations: 8.5 kB / 388.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1126, allocations: 35.06 kB / 388.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.1126, allocations: 0 / 388.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004668/0.1172, allocations: 1.5 MB / 390.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1173, allocations: 55.91 kB / 390.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.1184, allocations: 0.8908 MB / 391.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1184, allocations: 29.7 kB / 391.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.1188, allocations: 412.5 kB / 391.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.1189, allocations: 222 kB / 391.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.1192, allocations: 122.6 kB / 391.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.1194, allocations: 386.7 kB / 392.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.12, allocations: 245.8 kB / 392.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.1208, allocations: 347.1 kB / 392.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.1221, allocations: 0.5633 MB / 393.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1222, allocations: 4 kB / 393.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001651/0.1238, allocations: 0.7311 MB / 394.2 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1238, allocations: 4 kB / 394.2 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1238, allocations: 7.938 kB / 394.2 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1239, allocations: 4 kB / 394.2 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/0.1247, allocations: 175.8 kB / 394.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1247, allocations: 8 kB / 394.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.1252, allocations: 39.95 kB / 394.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.1252, allocations: 24 kB / 394.5 MB, free: 160 kB / 350.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_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.0003744/0.1256, allocations: 269.6 kB / 394.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1257, allocations: 71.53 kB / 394.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.1273, allocations: 0.6416 MB / 395.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1273, allocations: 8 kB / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1273, allocations: 0 / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1273, allocations: 0 / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.1302, allocations: 1.486 MB / 396.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1302, allocations: 4 kB / 396.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.1308, allocations: 131.8 kB / 397.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1308, allocations: 8 kB / 397.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.1308, allocations: 19.92 kB / 397.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1308, allocations: 8.312 kB / 397.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1308, allocations: 4 kB / 397.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1322, allocations: 0.7342 MB / 397.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1325, allocations: 127.5 kB / 398 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.1325, allocations: 23.88 kB / 398 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.133, allocations: 35.97 kB / 398 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.1331, allocations: 44.36 kB / 398.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.1331, allocations: 20 kB / 398.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007494/0.1339, allocations: 0.6435 MB / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1339, allocations: 0 / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.1344, allocations: 151.9 kB / 398.9 MB, free: 11.6 MB / 366.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 (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.001386/0.1358, allocations: 394.2 kB / 399.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1372, allocations: 0.5575 MB / 399.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1372, allocations: 0 / 399.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.1378, allocations: 279.5 kB / 400.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.1385, allocations: 119.2 kB / 400.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.1411, allocations: 1.589 MB / 401.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1415, allocations: 363 kB / 402.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.1418, allocations: 92.81 kB / 402.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.142, allocations: 56.48 kB / 402.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.142, allocations: 4 kB / 402.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01491/0.1569, allocations: 7.507 MB / 409.8 MB, free: 0.8555 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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.469200339983217]