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.001116/0.001116, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001083/0.001083, allocations: 168.5 kB / 25.61 MB, free: 8.566 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.9479/0.9479, allocations: 177.1 MB / 206 MB, free: 4.504 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.472e-06/1.472e-06, allocations: 0 / 274.2 MB, free: 4.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.515e-05, allocations: 6.25 kB / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004437/0.004452, allocations: 4.561 MB / 278.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006789, allocations: 1.956 MB / 280.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.007148, allocations: 11.94 kB / 280.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.007742, allocations: 418.1 kB / 281.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009863/0.008728, allocations: 485.1 kB / 281.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.009223, allocations: 323.3 kB / 281.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007024/0.009925, allocations: 1.071 MB / 283 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.01017, allocations: 195 kB / 283.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.01065, allocations: 0.6081 MB / 283.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.01103, allocations: 454.9 kB / 284.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/0.01111, allocations: 96 kB / 284.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.01125, allocations: 124 kB / 284.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.01138, allocations: 239.2 kB / 284.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.01157, allocations: 307.2 kB / 285 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.01212, allocations: 0.7162 MB / 285.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01212, allocations: 0 / 285.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01213, allocations: 0 / 285.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.01213, allocations: 0 / 285.7 MB, free: 8.949 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001176/0.01331, allocations: 1.258 MB / 287 MB, free: 7.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.01334, allocations: 15.98 kB / 287 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.01362, allocations: 184.2 kB / 287.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.01404, allocations: 0.4968 MB / 287.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.01408, allocations: 45.69 kB / 287.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.01414, allocations: 64.12 kB / 287.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.01461, allocations: 478.4 kB / 288.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01462, allocations: 0 / 288.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.01466, allocations: 24 kB / 288.2 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01467, allocations: 16 kB / 288.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.01494, allocations: 216.9 kB / 288.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.01694, allocations: 1.913 MB / 290.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.01725, allocations: 262.3 kB / 290.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.01746, allocations: 165 kB / 290.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.01749, allocations: 12.5 kB / 290.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.01751, allocations: 41.89 kB / 290.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.643e-06/0.01751, allocations: 0 / 290.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001305/0.01882, allocations: 0.8317 MB / 291.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.01885, allocations: 64.06 kB / 291.7 MB, free: 2.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.01928, allocations: 0.7022 MB / 292.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.01931, allocations: 37.7 kB / 292.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.01953, allocations: 495.1 kB / 293 MB, free: 1.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.01963, allocations: 222 kB / 293.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.01976, allocations: 132.2 kB / 293.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01992, allocations: 0.5741 MB / 293.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.02004, allocations: 81.92 kB / 294 MB, free: 424 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.0202, allocations: 211.3 kB / 294.2 MB, free: 172 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.02049, allocations: 305.8 kB / 294.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0205, allocations: 0 / 294.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0004658/0.02096, allocations: 464.6 kB / 294.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.02098, allocations: 8 kB / 294.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.02098, allocations: 0 / 294.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.021, allocations: 12.22 kB / 295 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.02147, allocations: 163.7 kB / 295.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.02147, allocations: 8 kB / 295.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.02174, allocations: 27.98 kB / 295.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.02178, allocations: 19.98 kB / 295.2 MB, free: 15.13 MB / 282.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.0001742/0.02195, allocations: 188.5 kB / 295.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.02208, allocations: 99.48 kB / 295.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.02282, allocations: 389.2 kB / 295.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.02283, allocations: 15.88 kB / 295.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.02283, allocations: 3.984 kB / 295.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.02284, allocations: 3.984 kB / 295.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.02431, allocations: 1.198 MB / 297 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02431, allocations: 0 / 297 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.02466, allocations: 127.8 kB / 297.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.02467, allocations: 8 kB / 297.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.0247, allocations: 12 kB / 297.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.0247, allocations: 4 kB / 297.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.02471, allocations: 7.938 kB / 297.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.02526, allocations: 0.6061 MB / 297.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.02543, allocations: 123.4 kB / 297.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.0255, allocations: 16 kB / 297.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.02574, allocations: 23.98 kB / 298 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.02582, allocations: 48.3 kB / 298 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.02585, allocations: 19.98 kB / 298 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.0262, allocations: 450.8 kB / 298.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0262, allocations: 0 / 298.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.02667, allocations: 152 kB / 298.6 MB, free: 11.5 MB / 282.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.0007686/0.02744, allocations: 362.9 kB / 299 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.02789, allocations: 305.8 kB / 299.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02789, allocations: 0 / 299.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.0281, allocations: 160.8 kB / 299.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.0287, allocations: 140.9 kB / 299.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.03051, allocations: 1.38 MB / 301 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.03066, allocations: 168.2 kB / 301.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.03094, allocations: 88.94 kB / 301.2 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.03128, allocations: 206.1 kB / 301.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03128, allocations: 3.938 kB / 301.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of Templates: time 0.01404/0.04532, allocations: 8.672 MB / 310.1 MB, free: 204 kB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0262450422160327]