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.00183/0.00183, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002468/0.002468, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.001974/0.001974, allocations: 63.91 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006376/0.2671, allocations: 4.256 MB / 436.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.2706, allocations: 1.905 MB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.2709, allocations: 11.94 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007765/0.2717, allocations: 418.2 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009163/0.2726, allocations: 469.5 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.2733, allocations: 323.4 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2744, allocations: 1.044 MB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.2747, allocations: 195 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.2753, allocations: 430.6 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.2759, allocations: 494.1 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.276, allocations: 100 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.2762, allocations: 135.9 kB / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.2765, allocations: 243.1 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.2768, allocations: 374.1 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.2781, allocations: 1.311 MB / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2781, allocations: 4 kB / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2781, allocations: 0 / 444 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2782, allocations: 0 / 444 MB, free: 10.84 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.002109/0.2803, allocations: 1.158 MB / 445.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2803, allocations: 8.031 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.2808, allocations: 140.2 kB / 445.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.2817, allocations: 0.5039 MB / 445.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.2818, allocations: 45.69 kB / 445.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.2819, allocations: 63.94 kB / 445.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.283, allocations: 0.6614 MB / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2831, allocations: 0 / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.2831, allocations: 24 kB / 446.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.872e-05/0.2831, allocations: 16 kB / 446.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2842, allocations: 0.5204 MB / 447.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.2877, allocations: 2.005 MB / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.2886, allocations: 453.6 kB / 449.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.2893, allocations: 269.4 kB / 449.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2893, allocations: 4.438 kB / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2893, allocations: 43 kB / 449.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.2893, allocations: 0 / 449.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004197/0.2935, allocations: 1.456 MB / 451.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2936, allocations: 56.06 kB / 451.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2947, allocations: 0.9104 MB / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.2947, allocations: 33.7 kB / 452.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.295, allocations: 424.5 kB / 452.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2952, allocations: 218.1 kB / 453 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.2954, allocations: 126.6 kB / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2956, allocations: 394.7 kB / 453.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.2961, allocations: 225.9 kB / 453.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.2967, allocations: 327.1 kB / 454.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2979, allocations: 0.5443 MB / 454.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2979, allocations: 0 / 454.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001414/0.2993, allocations: 0.7036 MB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2993, allocations: 11.94 kB / 455.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2993, allocations: 0 / 455.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2993, allocations: 8 kB / 455.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.3001, allocations: 176 kB / 455.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3001, allocations: 7.938 kB / 455.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.3005, allocations: 31.97 kB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.3006, allocations: 27.98 kB / 455.6 MB, free: 15.01 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.0003392/0.3009, allocations: 269.7 kB / 455.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.301, allocations: 83.42 kB / 455.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.3025, allocations: 0.6067 MB / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3025, allocations: 4 kB / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3025, allocations: 0 / 456.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3025, allocations: 3.984 kB / 456.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.3051, allocations: 1.461 MB / 458 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3051, allocations: 8.25 kB / 458 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.3057, allocations: 123.9 kB / 458.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.3057, allocations: 15.92 kB / 458.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.3057, allocations: 12 kB / 458.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.3058, allocations: 7.938 kB / 458.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3058, allocations: 4 kB / 458.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3069, allocations: 0.7222 MB / 458.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.3072, allocations: 127.4 kB / 459 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.3073, allocations: 19.92 kB / 459 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3077, allocations: 27.98 kB / 459 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.3078, allocations: 44.36 kB / 459.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.3078, allocations: 23.98 kB / 459.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007731/0.3086, allocations: 0.6591 MB / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3086, allocations: 4 kB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005631/0.3092, allocations: 151.9 kB / 459.9 MB, free: 10.5 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.001416/0.3106, allocations: 396 kB / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3118, allocations: 0.5268 MB / 460.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3118, allocations: 4 kB / 460.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.3123, allocations: 259.3 kB / 461.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.3131, allocations: 129.6 kB / 461.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3157, allocations: 1.65 MB / 462.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3161, allocations: 371.7 kB / 463.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.3164, allocations: 59.42 kB / 463.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3164, allocations: 4 kB / 463.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01572/0.3321, allocations: 10.27 MB / 473.6 MB, free: 12.91 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/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_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: 8.35076056001708]