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.001807/0.001807, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002158/0.002158, allocations: 211.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001582/0.001582, allocations: 51.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006965/0.2457, allocations: 4.254 MB / 435.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.2493, allocations: 1.909 MB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.2497, allocations: 11.94 kB / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.2507, allocations: 418.2 kB / 438.2 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2517, allocations: 473.5 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.2524, allocations: 327.4 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.2535, allocations: 1.028 MB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.2538, allocations: 199 kB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.2544, allocations: 438.6 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.255, allocations: 494.1 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.2552, allocations: 100 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2554, allocations: 128 kB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.2557, allocations: 247.1 kB / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.2561, allocations: 374.1 kB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2576, allocations: 1.31 MB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2576, allocations: 3.938 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2576, allocations: 0 / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.2576, allocations: 0 / 443.2 MB, free: 11.04 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.002352/0.2599, allocations: 1.158 MB / 444.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.26, allocations: 12.03 kB / 444.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/0.2605, allocations: 128.2 kB / 444.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2615, allocations: 0.5153 MB / 445 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.2616, allocations: 53.31 kB / 445.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2617, allocations: 56 kB / 445.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2629, allocations: 0.6575 MB / 445.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2629, allocations: 0 / 445.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.263, allocations: 20 kB / 445.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.263, allocations: 16 kB / 445.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2641, allocations: 0.5243 MB / 446.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.2678, allocations: 2.016 MB / 448.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/0.2687, allocations: 445.6 kB / 448.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.2694, allocations: 266 kB / 449.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.2694, allocations: 8.438 kB / 449.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.2695, allocations: 35 kB / 449.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.2695, allocations: 0 / 449.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004363/0.2738, allocations: 1.456 MB / 450.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2739, allocations: 64 kB / 450.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.275, allocations: 0.9143 MB / 451.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.2751, allocations: 37.7 kB / 451.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.2754, allocations: 408.5 kB / 452 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.2756, allocations: 234 kB / 452.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.2758, allocations: 118.6 kB / 452.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.276, allocations: 390.8 kB / 452.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.2766, allocations: 221.9 kB / 452.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.2772, allocations: 327.1 kB / 453.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2783, allocations: 0.5444 MB / 453.8 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2783, allocations: 11.94 kB / 453.8 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001501/0.2798, allocations: 0.6997 MB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2799, allocations: 8.281 kB / 454.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2799, allocations: 11.98 kB / 454.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.2799, allocations: 4 kB / 454.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.2807, allocations: 167.8 kB / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2807, allocations: 8 kB / 454.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.2811, allocations: 27.98 kB / 454.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.2812, allocations: 27.98 kB / 454.7 MB, free: 15.21 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.0003751/0.2816, allocations: 273.6 kB / 455 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2817, allocations: 83.42 kB / 455.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.283, allocations: 0.5988 MB / 455.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.283, allocations: 4 kB / 455.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.283, allocations: 0 / 455.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.283, allocations: 3.984 kB / 455.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.2858, allocations: 1.469 MB / 457.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.2858, allocations: 7.938 kB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.2864, allocations: 131.8 kB / 457.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.2864, allocations: 4 kB / 457.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.2864, allocations: 12 kB / 457.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.2864, allocations: 8 kB / 457.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2864, allocations: 3.938 kB / 457.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2877, allocations: 0.7264 MB / 458.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.288, allocations: 135.3 kB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/0.288, allocations: 16 kB / 458.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.2885, allocations: 23.98 kB / 458.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.2886, allocations: 52.34 kB / 458.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.2886, allocations: 23.94 kB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008286/0.2894, allocations: 0.6552 MB / 459 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2894, allocations: 0 / 459 MB, free: 10.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.29, allocations: 152 kB / 459.1 MB, free: 10.7 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.001469/0.2915, allocations: 407.2 kB / 459.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.2927, allocations: 0.5234 MB / 460 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2927, allocations: 4.062 kB / 460 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.2933, allocations: 258.3 kB / 460.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.2941, allocations: 136.6 kB / 460.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.2969, allocations: 1.598 MB / 462 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.2973, allocations: 375.7 kB / 462.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.2977, allocations: 92.92 kB / 462.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2979, allocations: 59.42 kB / 462.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2979, allocations: 0 / 462.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of Templates: time 0.0169/0.3148, allocations: 8.743 MB / 471.3 MB, free: 14.73 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.006371557712555]