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.001231/0.001231, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001401/0.001401, allocations: 160.5 kB / 24.5 MB, free: 3.715 MB / 14.72 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.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 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 0.001598/0.001598, allocations: 59.5 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08757, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00639/0.09396, allocations: 4.255 MB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.09743, allocations: 1.898 MB / 385.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.09785, allocations: 11.94 kB / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.09865, allocations: 426.2 kB / 385.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.0997, allocations: 469.5 kB / 385.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.1004, allocations: 326.3 kB / 386.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.1017, allocations: 1.04 MB / 387.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.102, allocations: 203 kB / 387.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/0.1025, allocations: 434.6 kB / 387.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.1032, allocations: 0.4902 MB / 388.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1033, allocations: 100 kB / 388.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1035, allocations: 132 kB / 388.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.1037, allocations: 235.2 kB / 388.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.1041, allocations: 374.1 kB / 389.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.1054, allocations: 1.311 MB / 390.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1054, allocations: 0 / 390.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1054, allocations: 0 / 390.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1054, allocations: 0 / 390.5 MB, free: 3.961 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002102/0.1075, allocations: 1.166 MB / 391.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.475e-05/0.1076, allocations: 12.03 kB / 391.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.108, allocations: 128.2 kB / 391.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.1089, allocations: 0.5153 MB / 392.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.109, allocations: 49.31 kB / 392.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.1091, allocations: 60 kB / 392.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1102, allocations: 0.6536 MB / 393.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1103, allocations: 4 kB / 393.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.1103, allocations: 20 kB / 393.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1103, allocations: 16 kB / 393.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1115, allocations: 0.5282 MB / 393.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.1149, allocations: 2.002 MB / 395.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.1158, allocations: 449.1 kB / 396.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.1165, allocations: 269.4 kB / 396.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.1165, allocations: 12.48 kB / 396.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1166, allocations: 35.06 kB / 396.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.773e-06/0.1166, allocations: 0 / 396.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.004291/0.1208, allocations: 1.456 MB / 397.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1209, allocations: 60.06 kB / 398 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.122, allocations: 0.9104 MB / 398.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.1221, allocations: 37.7 kB / 398.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.1224, allocations: 412.5 kB / 399.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.1226, allocations: 234.1 kB / 399.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.1228, allocations: 118.6 kB / 399.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.123, allocations: 386.8 kB / 400 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.1235, allocations: 225.9 kB / 400.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.1241, allocations: 327.1 kB / 400.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.1253, allocations: 0.5483 MB / 401.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1253, allocations: 3.938 kB / 401.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00147/0.1267, allocations: 0.7115 MB / 401.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1268, allocations: 10.84 kB / 401.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1268, allocations: 4 kB / 401.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1268, allocations: 4 kB / 401.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.1276, allocations: 167.8 kB / 402 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1276, allocations: 8 kB / 402 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.1281, allocations: 35.91 kB / 402.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.1281, allocations: 24 kB / 402.1 MB, free: 8.121 MB / 366.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 (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.0003407/0.1284, allocations: 273.6 kB / 402.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1286, allocations: 87.36 kB / 402.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.1299, allocations: 0.6066 MB / 403 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1299, allocations: 4 kB / 403 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1299, allocations: 4 kB / 403 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1299, allocations: 7.984 kB / 403.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.1326, allocations: 1.479 MB / 404.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1326, allocations: 4 kB / 404.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.1332, allocations: 127.8 kB / 404.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.1332, allocations: 4 kB / 404.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.1333, allocations: 15.98 kB / 404.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1333, allocations: 8 kB / 404.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1333, allocations: 8.25 kB / 404.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.1345, allocations: 0.7263 MB / 405.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.1347, allocations: 119.4 kB / 405.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.1348, allocations: 16 kB / 405.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.1352, allocations: 31.97 kB / 405.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.1353, allocations: 52.36 kB / 405.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.1354, allocations: 16 kB / 405.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007809/0.1362, allocations: 0.6552 MB / 406.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1362, allocations: 0 / 406.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.1367, allocations: 156 kB / 406.5 MB, free: 3.598 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 (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.001405/0.1381, allocations: 390.5 kB / 406.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.1393, allocations: 0.5237 MB / 407.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1393, allocations: 0 / 407.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.1399, allocations: 262.5 kB / 407.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.1406, allocations: 143.9 kB / 407.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.1431, allocations: 1.602 MB / 409.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1435, allocations: 379.7 kB / 409.7 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.1439, allocations: 88.94 kB / 409.8 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.144, allocations: 60.48 kB / 409.9 MB, free: 244 kB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.144, allocations: 0 / 409.9 MB, free: 244 kB / 366.1 MB Notification: Performance of Templates: time 0.01521/0.1592, allocations: 7.831 MB / 417.7 MB, free: 8.555 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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.708488004049286]