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.001509/0.001509, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001639/0.001639, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001485/0.001485, allocations: 47.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2255, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008296/0.2338, allocations: 6.611 MB / 439 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004069/0.2379, allocations: 2.412 MB / 441.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.2383, allocations: 19.94 kB / 441.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.239, allocations: 361.7 kB / 441.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.24, allocations: 0.5433 MB / 442.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.2409, allocations: 454.7 kB / 442.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.2425, allocations: 1.565 MB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005301/0.243, allocations: 358 kB / 444.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.2437, allocations: 0.6074 MB / 445.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008315/0.2445, allocations: 0.6886 MB / 446 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.2447, allocations: 160 kB / 446.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.245, allocations: 196 kB / 446.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.2453, allocations: 331 kB / 446.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.246, allocations: 0.6882 MB / 447.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.248, allocations: 1.976 MB / 449.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.248, allocations: 0 / 449.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.248, allocations: 4 kB / 449.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.248, allocations: 0 / 449.3 MB, free: 5.926 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.002875/0.2509, allocations: 1.505 MB / 450.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2509, allocations: 12.03 kB / 450.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.2514, allocations: 160.1 kB / 451 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2527, allocations: 0.6852 MB / 451.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.2527, allocations: 74 kB / 451.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.2529, allocations: 92 kB / 451.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.2546, allocations: 0.9896 MB / 452.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2547, allocations: 0 / 452.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.2547, allocations: 40 kB / 452.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.2548, allocations: 24 kB / 452.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.2565, allocations: 0.8133 MB / 453.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.2619, allocations: 3.565 MB / 457.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.2639, allocations: 0.5922 MB / 457.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.2645, allocations: 291.3 kB / 458.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.2645, allocations: 12.36 kB / 458.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2646, allocations: 47.09 kB / 458.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.044e-06/0.2646, allocations: 0 / 458.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004084/0.2687, allocations: 1.692 MB / 459.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2687, allocations: 85.11 kB / 460 MB, free: 10.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2701, allocations: 1.042 MB / 461 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.2701, allocations: 37.7 kB / 461.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.2706, allocations: 0.5623 MB / 461.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2708, allocations: 242 kB / 461.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.271, allocations: 162.6 kB / 462 MB, free: 8.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2712, allocations: 337.9 kB / 462.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.2719, allocations: 313.8 kB / 462.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/0.2728, allocations: 495.1 kB / 463.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.2744, allocations: 0.7795 MB / 463.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2744, allocations: 4 kB / 463.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002052/0.2764, allocations: 0.9673 MB / 464.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2764, allocations: 8 kB / 464.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2764, allocations: 4 kB / 464.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.2765, allocations: 19.92 kB / 464.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.2777, allocations: 275.6 kB / 465.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.2777, allocations: 15.92 kB / 465.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.2784, allocations: 55.89 kB / 465.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.2785, allocations: 36 kB / 465.3 MB, free: 5.449 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.0004314/0.2789, allocations: 285.6 kB / 465.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.2791, allocations: 111.3 kB / 465.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.28, allocations: 358.7 kB / 466 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.28, allocations: 8 kB / 466 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.28, allocations: 0 / 466 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.28, allocations: 7.922 kB / 466 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.2839, allocations: 2.258 MB / 468.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.2839, allocations: 12 kB / 468.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/0.2847, allocations: 212 kB / 468.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.2848, allocations: 8 kB / 468.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.2848, allocations: 23.98 kB / 468.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.2848, allocations: 15.88 kB / 468.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.2848, allocations: 11.94 kB / 468.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.2865, allocations: 1.037 MB / 469.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.2867, allocations: 123.3 kB / 469.7 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.2868, allocations: 20 kB / 469.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.2875, allocations: 51.95 kB / 469.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2876, allocations: 67.66 kB / 469.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.2876, allocations: 28 kB / 469.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009718/0.2886, allocations: 0.7229 MB / 470.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2886, allocations: 0 / 470.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.2894, allocations: 212 kB / 470.8 MB, free: 15.64 MB / 382.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.001319/0.2907, allocations: 374.5 kB / 471.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.2923, allocations: 0.6979 MB / 471.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.2923, allocations: 4 kB / 471.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.2931, allocations: 337.9 kB / 472.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.2943, allocations: 233.1 kB / 472.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2977, allocations: 2.013 MB / 474.5 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.2984, allocations: 1.03 MB / 475.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.2987, allocations: 83.41 kB / 475.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2987, allocations: 4 kB / 475.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01969/0.3184, allocations: 13.55 MB / 489.1 MB, free: 13.37 MB / 398.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.139652559999377]