Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006486/0.2378, allocations: 4.641 MB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.241, allocations: 1.819 MB / 430.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.2414, allocations: 15.88 kB / 430.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.2422, allocations: 430.2 kB / 430.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009106/0.2431, allocations: 417.7 kB / 431.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.2438, allocations: 315.4 kB / 431.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.245, allocations: 1.028 MB / 432.5 MB, free: 6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.2454, allocations: 208.6 kB / 432.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.2459, allocations: 418.7 kB / 433.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.2466, allocations: 0.5256 MB / 433.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.2468, allocations: 100 kB / 433.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.247, allocations: 120 kB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.2473, allocations: 243.1 kB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.2477, allocations: 453.6 kB / 434.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.2491, allocations: 1.284 MB / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2491, allocations: 0 / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2491, allocations: 0 / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.2491, allocations: 0 / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002314/0.2515, allocations: 1.158 MB / 437 MB, free: 1.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2515, allocations: 8.031 kB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2517, allocations: 104.3 kB / 437.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.2526, allocations: 0.4914 MB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.2527, allocations: 45.69 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.2528, allocations: 64.12 kB / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.254, allocations: 0.6441 MB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.254, allocations: 11.88 kB / 438.4 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.2541, allocations: 24 kB / 438.4 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.2541, allocations: 16 kB / 438.4 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2554, allocations: 0.5594 MB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.2593, allocations: 2.449 MB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.2603, allocations: 458.9 kB / 441.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.261, allocations: 280.1 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.261, allocations: 8.422 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.2611, allocations: 42.98 kB / 442.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/0.2611, allocations: 0 / 442.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004617/0.2657, allocations: 1.508 MB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.2658, allocations: 59.91 kB / 443.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.267, allocations: 0.9303 MB / 444.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.2671, allocations: 37.7 kB / 444.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.2674, allocations: 412.7 kB / 445.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.2676, allocations: 226 kB / 445.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.2678, allocations: 122.6 kB / 445.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.268, allocations: 330 kB / 445.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.2686, allocations: 245.9 kB / 446 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.2693, allocations: 347.1 kB / 446.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.2706, allocations: 0.5671 MB / 446.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2706, allocations: 0 / 446.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001647/0.2722, allocations: 0.7348 MB / 447.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.2723, allocations: 15.22 kB / 447.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2723, allocations: 0 / 447.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2723, allocations: 4.281 kB / 447.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.2731, allocations: 179.8 kB / 447.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.2731, allocations: 8 kB / 447.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.2736, allocations: 31.97 kB / 447.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.2737, allocations: 31.92 kB / 447.9 MB, free: 6.254 MB / 350.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 (83): * Single equations (assignments): 83 * 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.0003987/0.2741, allocations: 269.7 kB / 448.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.2742, allocations: 83.42 kB / 448.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2757, allocations: 0.6305 MB / 448.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2757, allocations: 11.98 kB / 448.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.2758, allocations: 3.984 kB / 448.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2758, allocations: 0 / 448.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.2789, allocations: 1.767 MB / 450.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.2789, allocations: 3.938 kB / 450.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.2795, allocations: 135.8 kB / 450.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.2795, allocations: 4 kB / 450.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.2795, allocations: 15.98 kB / 450.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.2796, allocations: 12.31 kB / 450.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2796, allocations: 3.938 kB / 450.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.2809, allocations: 0.7417 MB / 451.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.2812, allocations: 135.3 kB / 451.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.2813, allocations: 15.98 kB / 451.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.2818, allocations: 39.97 kB / 451.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.2819, allocations: 48.36 kB / 451.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.2819, allocations: 23.94 kB / 451.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009026/0.2828, allocations: 0.6903 MB / 452.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 0 / 452.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.2834, allocations: 148 kB / 452.7 MB, free: 1.305 MB / 350.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 (61): * Single equations (assignments): 61 * 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.001376/0.2848, allocations: 376.2 kB / 453.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.2862, allocations: 0.5533 MB / 453.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2862, allocations: 0 / 453.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.2868, allocations: 275.2 kB / 453.9 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.2876, allocations: 130.1 kB / 454 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.2905, allocations: 1.63 MB / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.2911, allocations: 0.9592 MB / 456.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.2914, allocations: 67.41 kB / 456.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2914, allocations: 0 / 456.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01665/0.308, allocations: 9.925 MB / 466.6 MB, free: 3.473 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.643346855882555]