Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001568/0.001568, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001562/0.001562, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2603, allocations: 52.13 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008625/0.2689, allocations: 6.476 MB / 427.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.273, allocations: 2.216 MB / 429.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.2737, allocations: 19.94 kB / 429.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.2745, allocations: 353.8 kB / 429.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.2757, allocations: 496.6 kB / 430.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.2766, allocations: 447.3 kB / 430.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.2783, allocations: 1.534 MB / 432.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.2789, allocations: 355 kB / 432.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.2796, allocations: 0.5801 MB / 433.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007709/0.2804, allocations: 0.677 MB / 434 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.2806, allocations: 163.9 kB / 434.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.2809, allocations: 184 kB / 434.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.2812, allocations: 327 kB / 434.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.2818, allocations: 0.6688 MB / 435.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.2838, allocations: 1.942 MB / 437.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2838, allocations: 0 / 437.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2838, allocations: 0 / 437.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.2839, allocations: 4 kB / 437.2 MB, free: 14.68 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003161/0.287, allocations: 1.561 MB / 438.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2871, allocations: 12.03 kB / 438.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.2873, allocations: 136.1 kB / 439 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2885, allocations: 0.7284 MB / 439.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.2886, allocations: 74.38 kB / 439.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.2888, allocations: 104.1 kB / 439.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.2908, allocations: 1.013 MB / 440.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.2908, allocations: 0 / 440.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.2909, allocations: 36 kB / 440.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.2909, allocations: 24 kB / 440.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.293, allocations: 0.8874 MB / 441.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/0.2987, allocations: 3.63 MB / 445.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.3017, allocations: 0.8736 MB / 446.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.3025, allocations: 341.5 kB / 446.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.3025, allocations: 11.98 kB / 446.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3025, allocations: 46.36 kB / 446.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.735e-06/0.3025, allocations: 0 / 446.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005068/0.3076, allocations: 1.808 MB / 448.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.3077, allocations: 89.11 kB / 448.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.309, allocations: 0.9742 MB / 449.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.3091, allocations: 37.7 kB / 449.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.3095, allocations: 0.5389 MB / 450.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.3097, allocations: 241.9 kB / 450.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.31, allocations: 158.5 kB / 450.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3101, allocations: 337.9 kB / 450.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.3111, allocations: 341.8 kB / 451.2 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.3121, allocations: 0.5262 MB / 451.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.314, allocations: 0.8212 MB / 452.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.314, allocations: 4 kB / 452.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002455/0.3165, allocations: 1.021 MB / 453.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.3165, allocations: 15.25 kB / 453.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3165, allocations: 8 kB / 453.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.3165, allocations: 8 kB / 453.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.3178, allocations: 279.6 kB / 453.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.3179, allocations: 19.94 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008797/0.3187, allocations: 67.92 kB / 454 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.3188, allocations: 35.98 kB / 454 MB, free: 13.39 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 (108): * Single equations (assignments): 108 * 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.0004831/0.3193, allocations: 285.6 kB / 454.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.3195, allocations: 107.3 kB / 454.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3205, allocations: 390.1 kB / 454.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3205, allocations: 4 kB / 454.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3205, allocations: 4 kB / 454.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3205, allocations: 3.984 kB / 454.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.3248, allocations: 2.304 MB / 457.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.3248, allocations: 8 kB / 457.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/0.3257, allocations: 212.2 kB / 457.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.3257, allocations: 8 kB / 457.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.3258, allocations: 20 kB / 457.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.3258, allocations: 15.92 kB / 457.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.3258, allocations: 15.88 kB / 457.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3276, allocations: 1.038 MB / 458.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.3279, allocations: 188.4 kB / 458.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.328, allocations: 23.98 kB / 458.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.3287, allocations: 51.95 kB / 458.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3288, allocations: 63.75 kB / 458.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.3288, allocations: 31.98 kB / 458.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009672/0.3298, allocations: 0.6786 MB / 459.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3298, allocations: 0 / 459.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008449/0.3307, allocations: 208 kB / 459.6 MB, free: 7.484 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.001274/0.3319, allocations: 375.5 kB / 460 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.3338, allocations: 0.7336 MB / 460.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3338, allocations: 4.438 kB / 460.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.3346, allocations: 349.2 kB / 461.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3358, allocations: 210.2 kB / 461.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.3393, allocations: 1.95 MB / 463.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.3399, allocations: 1.014 MB / 464.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005393/0.3405, allocations: 119.2 kB / 464.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.3407, allocations: 75.41 kB / 464.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3407, allocations: 0 / 464.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02097/0.3617, allocations: 11.07 MB / 475.5 MB, free: 7.691 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.661239851266146]