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.001326/0.001326, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001485/0.001485, allocations: 219.7 kB / 23 MB, free: 5.574 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.508 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.001757/0.001757, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.256, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00672/0.2627, allocations: 4.727 MB / 434.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.2664, allocations: 2.01 MB / 436.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.267, allocations: 11.94 kB / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000922/0.2679, allocations: 422.2 kB / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2692, allocations: 477.5 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.2701, allocations: 315.5 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.2715, allocations: 1.04 MB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.272, allocations: 214.6 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006667/0.2726, allocations: 426.6 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.2732, allocations: 0.5333 MB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.2734, allocations: 96 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2736, allocations: 132 kB / 440.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.2739, allocations: 247 kB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.2743, allocations: 465.6 kB / 440.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2757, allocations: 1.301 MB / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2757, allocations: 4 kB / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2757, allocations: 0 / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2757, allocations: 0 / 442.1 MB, free: 11.14 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.002276/0.278, allocations: 1.229 MB / 443.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2781, allocations: 12.03 kB / 443.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.2786, allocations: 132.2 kB / 443.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.2795, allocations: 0.5759 MB / 444.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.2796, allocations: 49.69 kB / 444.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.2797, allocations: 59.94 kB / 444.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.2808, allocations: 0.6401 MB / 444.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.2809, allocations: 7.938 kB / 444.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.2809, allocations: 24 kB / 444.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.281, allocations: 16 kB / 444.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.2821, allocations: 0.5243 MB / 445.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.2861, allocations: 2.537 MB / 447.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.2869, allocations: 448.3 kB / 448.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.2875, allocations: 265.6 kB / 448.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.2876, allocations: 8.438 kB / 448.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2876, allocations: 43 kB / 448.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.983e-06/0.2876, allocations: 3.938 kB / 448.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004296/0.2919, allocations: 1.463 MB / 450.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.292, allocations: 59.97 kB / 450.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.2932, allocations: 0.9654 MB / 451.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.2932, allocations: 37.7 kB / 451.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.2936, allocations: 412.7 kB / 451.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.2938, allocations: 226.1 kB / 451.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.294, allocations: 122.6 kB / 452 MB, free: 1.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2942, allocations: 334 kB / 452.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.2947, allocations: 225.8 kB / 452.5 MB, free: 468 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.2953, allocations: 331.1 kB / 452.8 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2964, allocations: 0.5441 MB / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2964, allocations: 0 / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001479/0.2979, allocations: 0.7152 MB / 454.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2979, allocations: 8 kB / 454.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.298, allocations: 16.25 kB / 454.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.298, allocations: 4 kB / 454.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.2987, allocations: 159.8 kB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2987, allocations: 7.984 kB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.2992, allocations: 31.98 kB / 454.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.2992, allocations: 23.98 kB / 454.3 MB, free: 14.56 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.0003451/0.2996, allocations: 273.7 kB / 454.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2997, allocations: 91.38 kB / 454.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.301, allocations: 0.6126 MB / 455.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.301, allocations: 7.984 kB / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.301, allocations: 0 / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.301, allocations: 4 kB / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.304, allocations: 1.784 MB / 457.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.304, allocations: 320 / 457.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.3045, allocations: 135.8 kB / 457.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.3045, allocations: 7.984 kB / 457.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3046, allocations: 16 kB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3046, allocations: 4 kB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.3046, allocations: 11.88 kB / 457.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3058, allocations: 0.7243 MB / 458 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.3061, allocations: 212.5 kB / 458.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.3062, allocations: 16 kB / 458.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.3066, allocations: 27.97 kB / 458.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.3067, allocations: 52.27 kB / 458.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.3068, allocations: 20 kB / 458.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008589/0.3076, allocations: 0.702 MB / 459 MB, free: 9.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 4 kB / 459 MB, free: 9.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.3082, allocations: 148 kB / 459.2 MB, free: 9.527 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.001255/0.3094, allocations: 371.7 kB / 459.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3106, allocations: 0.5186 MB / 460.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3106, allocations: 4 kB / 460.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.3112, allocations: 263.2 kB / 460.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.3119, allocations: 148.5 kB / 460.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3147, allocations: 1.604 MB / 462.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.3153, allocations: 0.9785 MB / 463 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.3157, allocations: 97.16 kB / 463.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3159, allocations: 59.42 kB / 463.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3159, allocations: 0 / 463.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of Templates: time 0.01702/0.3329, allocations: 8.32 MB / 471.5 MB, free: 13.26 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.800525538623333]