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.001243/0.001243, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.00204/0.00204, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.447/1.447, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.001493/0.001493, allocations: 47.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09853, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2211/0.3196, allocations: 6.567 MB / 434 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.325, allocations: 2.386 MB / 436.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3261, allocations: 24.28 kB / 436.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.3272, allocations: 364.2 kB / 436.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3292, allocations: 0.5381 MB / 437.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3304, allocations: 450.7 kB / 437.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.3329, allocations: 1.569 MB / 439.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.3337, allocations: 359.6 kB / 439.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.3351, allocations: 0.6073 MB / 440.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.3363, allocations: 0.6793 MB / 441 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.3366, allocations: 161.8 kB / 441.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.3371, allocations: 203.6 kB / 441.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.3375, allocations: 329.7 kB / 441.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009015/0.3384, allocations: 0.6798 MB / 442.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.3418, allocations: 1.978 MB / 444.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.3418, allocations: 0.5 kB / 444.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3418, allocations: 4 kB / 444.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.895e-05/0.3419, allocations: 1.688 kB / 444.3 MB, free: 3.531 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.004697/0.3465, allocations: 1.582 MB / 445.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3466, allocations: 10.5 kB / 445.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.3475, allocations: 163.5 kB / 446.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.3492, allocations: 0.7402 MB / 446.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.3493, allocations: 73.56 kB / 446.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.3495, allocations: 95.81 kB / 447 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.3523, allocations: 0.986 MB / 448 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.3524, allocations: 1.062 kB / 448 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.3525, allocations: 41.02 kB / 448 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.3525, allocations: 23.97 kB / 448 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.3552, allocations: 0.8135 MB / 448.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008574/0.3638, allocations: 3.666 MB / 452.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.3669, allocations: 0.5959 MB / 453.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.3676, allocations: 292.8 kB / 453.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.3676, allocations: 9.844 kB / 453.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3677, allocations: 45.47 kB / 453.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/0.3677, allocations: 0 / 453.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004829/0.3725, allocations: 1.687 MB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.3726, allocations: 83.98 kB / 455.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.3741, allocations: 1.046 MB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.3741, allocations: 36.08 kB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.3746, allocations: 0.5688 MB / 456.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3748, allocations: 238 kB / 457.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.3751, allocations: 163.4 kB / 457.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3753, allocations: 340.6 kB / 457.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.3761, allocations: 311.7 kB / 457.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.377, allocations: 495.1 kB / 458.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.3787, allocations: 0.7862 MB / 459.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3787, allocations: 1.219 kB / 459.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002262/0.381, allocations: 0.9745 MB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.381, allocations: 7.719 kB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.381, allocations: 5.219 kB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.381, allocations: 10.38 kB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3822, allocations: 275 kB / 460.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.3822, allocations: 13.03 kB / 460.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/0.3831, allocations: 57.3 kB / 460.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.3832, allocations: 39.77 kB / 460.6 MB, free: 10.04 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.0005047/0.3837, allocations: 288 kB / 460.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.3839, allocations: 106.7 kB / 460.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.3848, allocations: 359 kB / 461.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3848, allocations: 11.84 kB / 461.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.3848, allocations: 0 / 461.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.3848, allocations: 9.234 kB / 461.3 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.3893, allocations: 2.284 MB / 463.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.3893, allocations: 10.88 kB / 463.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.3902, allocations: 206.4 kB / 463.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.3902, allocations: 12.88 kB / 463.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.3902, allocations: 24.23 kB / 463.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.3902, allocations: 13.56 kB / 463.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.3902, allocations: 11.56 kB / 463.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3922, allocations: 1.033 MB / 464.9 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.3925, allocations: 199.5 kB / 465.1 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3926, allocations: 22.22 kB / 465.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.3933, allocations: 50.2 kB / 465.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3934, allocations: 66.59 kB / 465.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.3935, allocations: 32.36 kB / 465.3 MB, free: 6.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.3947, allocations: 0.7169 MB / 466 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3947, allocations: 0 / 466 MB, free: 6.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3957, allocations: 211.8 kB / 466.2 MB, free: 6.234 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.001555/0.3973, allocations: 391 kB / 466.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.3992, allocations: 0.6983 MB / 467.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.3992, allocations: 1.031 kB / 467.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.4001, allocations: 344.3 kB / 467.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4015, allocations: 224.6 kB / 467.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.4055, allocations: 2 MB / 469.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.4063, allocations: 1.032 MB / 470.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.4066, allocations: 84.94 kB / 470.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4066, allocations: 4 kB / 470.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02337/0.43, allocations: 13.54 MB / 484.5 MB, free: 6.832 MB / 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.637950289004948]