Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001884/0.001884, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00236/0.00236, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 55.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2565, allocations: 53.41 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006481/0.263, allocations: 4.265 MB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.2666, allocations: 1.892 MB / 437.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.2671, allocations: 19.88 kB / 437.8 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008913/0.268, allocations: 410.3 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.2691, allocations: 477.4 kB / 438.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.2699, allocations: 327.4 kB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.2712, allocations: 1.032 MB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.2716, allocations: 191.1 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.2723, allocations: 434.7 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.2731, allocations: 0.4903 MB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.2733, allocations: 99.94 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.2735, allocations: 136 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2738, allocations: 247 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.2741, allocations: 366.2 kB / 442 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2755, allocations: 1.315 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2755, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2755, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2755, allocations: 0 / 443.3 MB, free: 10.86 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.002156/0.2777, allocations: 1.15 MB / 444.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.2777, allocations: 15.97 kB / 444.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000484/0.2782, allocations: 132.2 kB / 444.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.2792, allocations: 0.5078 MB / 445.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.2792, allocations: 53.69 kB / 445.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.2793, allocations: 63.92 kB / 445.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2805, allocations: 0.6613 MB / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2806, allocations: 0 / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.2806, allocations: 20 kB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2806, allocations: 16 kB / 445.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.2818, allocations: 0.5282 MB / 446.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.2854, allocations: 2.001 MB / 448.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.2863, allocations: 449.5 kB / 448.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.287, allocations: 265.6 kB / 449.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.2871, allocations: 16.36 kB / 449.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2871, allocations: 35 kB / 449.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.773e-06/0.2871, allocations: 4 kB / 449.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004355/0.2914, allocations: 1.452 MB / 450.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2915, allocations: 60.06 kB / 450.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2926, allocations: 0.9104 MB / 451.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.2927, allocations: 37.7 kB / 451.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.293, allocations: 408.5 kB / 452 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.2932, allocations: 234 kB / 452.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.2934, allocations: 122.6 kB / 452.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2936, allocations: 386.8 kB / 452.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.2942, allocations: 229.8 kB / 453 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.2948, allocations: 327.1 kB / 453.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.296, allocations: 0.5444 MB / 453.8 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.296, allocations: 4.047 kB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001482/0.2975, allocations: 0.6997 MB / 454.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2975, allocations: 8.219 kB / 454.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2975, allocations: 11.94 kB / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2975, allocations: 4 kB / 454.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.2983, allocations: 167.8 kB / 454.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.2983, allocations: 11.98 kB / 454.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.2988, allocations: 31.97 kB / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.2989, allocations: 24 kB / 454.8 MB, free: 15.03 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.0003699/0.2992, allocations: 269.6 kB / 455.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2994, allocations: 87.42 kB / 455.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.3008, allocations: 0.6066 MB / 455.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3008, allocations: 4 kB / 455.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3008, allocations: 4 kB / 455.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3008, allocations: 3.984 kB / 455.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.3037, allocations: 1.461 MB / 457.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3037, allocations: 4 kB / 457.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.3043, allocations: 127.8 kB / 457.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.3043, allocations: 7.938 kB / 457.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.3043, allocations: 23.92 kB / 457.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3043, allocations: 4 kB / 457.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3043, allocations: 4 kB / 457.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3056, allocations: 0.7264 MB / 458.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.3059, allocations: 123.4 kB / 458.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.306, allocations: 19.94 kB / 458.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.3064, allocations: 27.97 kB / 458.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3065, allocations: 56.3 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.3066, allocations: 16 kB / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000835/0.3074, allocations: 0.6591 MB / 459 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 0 / 459 MB, free: 10.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.308, allocations: 152 kB / 459.2 MB, free: 10.52 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.001502/0.3095, allocations: 403.3 kB / 459.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3108, allocations: 0.5196 MB / 460.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3108, allocations: 4.062 kB / 460.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.3114, allocations: 262.2 kB / 460.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.3121, allocations: 137.9 kB / 460.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.315, allocations: 1.594 MB / 462.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.3154, allocations: 375.7 kB / 462.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.3158, allocations: 88.94 kB / 462.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.316, allocations: 59.42 kB / 462.6 MB, free: 7.145 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.316, allocations: 3.938 kB / 462.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of Templates: time 0.01761/0.3336, allocations: 8.734 MB / 471.3 MB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.918109457939863]