Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001354/0.001354, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001458/0.001458, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.94 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008151/0.2382, allocations: 5.828 MB / 438.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.2424, allocations: 2.295 MB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.2431, allocations: 27.81 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.2439, allocations: 357.7 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.2453, allocations: 0.5317 MB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.2462, allocations: 455.2 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.248, allocations: 1.561 MB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/0.2486, allocations: 330 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.2494, allocations: 0.6074 MB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.2502, allocations: 0.6144 MB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.2504, allocations: 160 kB / 445.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.2507, allocations: 200 kB / 445.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.2511, allocations: 334.9 kB / 445.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.2516, allocations: 0.5445 MB / 446.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.2537, allocations: 1.996 MB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2537, allocations: 0 / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2537, allocations: 0 / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.2537, allocations: 0 / 448.1 MB, free: 6.871 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002966/0.2567, allocations: 1.505 MB / 449.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2567, allocations: 12.03 kB / 449.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.2573, allocations: 168 kB / 449.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.2585, allocations: 0.6813 MB / 450.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.2586, allocations: 78 kB / 450.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.2587, allocations: 92 kB / 450.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.2606, allocations: 1.032 MB / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.2606, allocations: 0 / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.2607, allocations: 40 kB / 451.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2607, allocations: 24 kB / 451.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.2625, allocations: 0.8171 MB / 452.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.2678, allocations: 2.902 MB / 455.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.2699, allocations: 0.5895 MB / 456.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.2705, allocations: 293.5 kB / 456.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.2705, allocations: 15.98 kB / 456.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2706, allocations: 38.94 kB / 456.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.334e-06/0.2706, allocations: 0 / 456.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004479/0.2751, allocations: 1.677 MB / 458.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.2751, allocations: 85.11 kB / 458.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2764, allocations: 0.9069 MB / 459.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.2764, allocations: 37.7 kB / 459.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.2769, allocations: 0.5777 MB / 459.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.2771, allocations: 241.9 kB / 459.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.2774, allocations: 162.6 kB / 460.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.2776, allocations: 394.7 kB / 460.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.2784, allocations: 321.7 kB / 460.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009196/0.2793, allocations: 491.1 kB / 461.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.2809, allocations: 0.7863 MB / 462 MB, free: 8.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2809, allocations: 4 kB / 462 MB, free: 8.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002141/0.2831, allocations: 0.9556 MB / 463 MB, free: 7.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2831, allocations: 8 kB / 463 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2831, allocations: 4 kB / 463 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2831, allocations: 11.94 kB / 463 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2843, allocations: 275.6 kB / 463.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2843, allocations: 12 kB / 463.3 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.2851, allocations: 51.95 kB / 463.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.2851, allocations: 35.98 kB / 463.4 MB, free: 7.156 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0004587/0.2856, allocations: 291.4 kB / 463.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.2858, allocations: 95.39 kB / 463.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.2866, allocations: 349 kB / 464.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2866, allocations: 8 kB / 464.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2867, allocations: 0 / 464.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2867, allocations: 3.984 kB / 464.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.2906, allocations: 1.995 MB / 466.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.2906, allocations: 11.94 kB / 466.1 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008831/0.2915, allocations: 216.5 kB / 466.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.2915, allocations: 8 kB / 466.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.2915, allocations: 24 kB / 466.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.2915, allocations: 11.98 kB / 466.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.2916, allocations: 11.94 kB / 466.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.2934, allocations: 1.021 MB / 467.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.2936, allocations: 115.3 kB / 467.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2937, allocations: 20 kB / 467.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.2943, allocations: 47.95 kB / 467.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2944, allocations: 63.78 kB / 467.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.2945, allocations: 31.98 kB / 467.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008291/0.2953, allocations: 0.6084 MB / 468.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2953, allocations: 0 / 468.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007967/0.2961, allocations: 223.9 kB / 468.5 MB, free: 1.797 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001402/0.2975, allocations: 410.8 kB / 468.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.2991, allocations: 0.6987 MB / 469.6 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.2991, allocations: 4 kB / 469.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.2999, allocations: 345.8 kB / 470 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3011, allocations: 206.9 kB / 470.2 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.3045, allocations: 1.986 MB / 472.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.305, allocations: 447.5 kB / 472.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.3053, allocations: 75.41 kB / 472.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3053, allocations: 0 / 472.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02013/0.3254, allocations: 13.46 MB / 486.1 MB, free: 260 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.614518507849425]