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.001533/0.001533, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001746/0.001746, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001865/0.001865, allocations: 63.89 kB / 373.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1062, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.1897/0.2959, allocations: 4.673 MB / 431.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.2989, allocations: 1.99 MB / 433.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.2993, allocations: 12.56 kB / 433.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.3, allocations: 433.7 kB / 434.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.3008, allocations: 469.7 kB / 434.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.3014, allocations: 326.3 kB / 435 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009782/0.3024, allocations: 1.031 MB / 436.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.3027, allocations: 208.4 kB / 436.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.3032, allocations: 430 kB / 436.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.3037, allocations: 0.5335 MB / 437.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3038, allocations: 98.78 kB / 437.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.304, allocations: 132.8 kB / 437.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3042, allocations: 242.9 kB / 437.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.3045, allocations: 465.3 kB / 438.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.306, allocations: 1.306 MB / 439.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.306, allocations: 0 / 439.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.306, allocations: 0 / 439.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.3061, allocations: 0 / 439.4 MB, free: 6.336 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.002127/0.3082, allocations: 1.241 MB / 440.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3082, allocations: 13.06 kB / 440.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.3087, allocations: 128.7 kB / 440.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.3095, allocations: 0.5757 MB / 441.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.3096, allocations: 50.81 kB / 441.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.3097, allocations: 63.75 kB / 441.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3108, allocations: 0.6293 MB / 442.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3108, allocations: 1.094 kB / 442.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.3109, allocations: 24.53 kB / 442.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.3109, allocations: 15.47 kB / 442.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.312, allocations: 0.5258 MB / 442.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.3154, allocations: 2.539 MB / 445.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.3162, allocations: 459.9 kB / 445.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.3168, allocations: 268.5 kB / 446 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.3168, allocations: 11.34 kB / 446 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3169, allocations: 37.8 kB / 446 MB, free: 2.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.3169, allocations: 0 / 446 MB, free: 2.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004109/0.321, allocations: 1.459 MB / 447.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.321, allocations: 58.66 kB / 447.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.3221, allocations: 0.9691 MB / 448.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3221, allocations: 36.89 kB / 448.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.3223, allocations: 417.3 kB / 448.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3225, allocations: 230.1 kB / 449.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.3226, allocations: 119.2 kB / 449.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3227, allocations: 331.8 kB / 449.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.3232, allocations: 224.7 kB / 449.8 MB, free: 444 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.3238, allocations: 332.2 kB / 450.1 MB, free: 256 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3249, allocations: 0.5579 MB / 450.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3249, allocations: 1.688 kB / 450.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001478/0.3263, allocations: 0.7174 MB / 451.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3264, allocations: 5.5 kB / 451.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3264, allocations: 2.75 kB / 451.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3264, allocations: 6.156 kB / 451.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.3271, allocations: 168 kB / 451.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3271, allocations: 6.375 kB / 451.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3277, allocations: 29.22 kB / 451.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.3277, allocations: 33 kB / 451.7 MB, free: 15.62 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.0003641/0.3281, allocations: 265.7 kB / 451.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.3282, allocations: 95.53 kB / 452 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3295, allocations: 0.6052 MB / 452.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3296, allocations: 15.19 kB / 452.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3296, allocations: 3.125 kB / 452.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3296, allocations: 4.188 kB / 452.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.3325, allocations: 1.782 MB / 454.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3325, allocations: 1.969 kB / 454.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.333, allocations: 136.3 kB / 454.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.333, allocations: 5.125 kB / 454.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.333, allocations: 10.92 kB / 454.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.333, allocations: 6.094 kB / 454.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.333, allocations: 7.469 kB / 454.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3343, allocations: 0.7321 MB / 455.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.3345, allocations: 210 kB / 455.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.3346, allocations: 13.84 kB / 455.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.335, allocations: 34.94 kB / 455.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3351, allocations: 45.92 kB / 455.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3352, allocations: 18.12 kB / 455.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009112/0.3361, allocations: 0.7035 MB / 456.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3361, allocations: 0 / 456.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005942/0.3367, allocations: 149 kB / 456.5 MB, free: 13.05 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.001316/0.338, allocations: 394 kB / 456.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3393, allocations: 0.5188 MB / 457.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3393, allocations: 0 / 457.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.3398, allocations: 265 kB / 457.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.3406, allocations: 132.7 kB / 457.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.3433, allocations: 1.611 MB / 459.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.3439, allocations: 0.9715 MB / 460.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.3443, allocations: 101.6 kB / 460.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.3445, allocations: 58.05 kB / 460.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3445, allocations: 0 / 460.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01547/0.36, allocations: 8.148 MB / 468.7 MB, free: 6.594 MB / 366.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: 5.023766309022903]