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.001989/0.001989, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.002124/0.002124, allocations: 189.6 kB / 23.72 MB, free: 4.68 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.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.002205/0.002205, allocations: 47.92 kB / 370.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2717, allocations: 52.2 MB / 423.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006346/0.278, allocations: 4.633 MB / 427.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.2811, allocations: 1.827 MB / 429.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.2814, allocations: 15.94 kB / 429.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.2822, allocations: 422.2 kB / 430 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.283, allocations: 425.7 kB / 430.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.2836, allocations: 326.5 kB / 430.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2847, allocations: 1.017 MB / 431.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.2851, allocations: 212.6 kB / 432 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.2855, allocations: 422.7 kB / 432.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.2861, allocations: 0.5217 MB / 432.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.2863, allocations: 96 kB / 433 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.2865, allocations: 120 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.2867, allocations: 243.1 kB / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.2872, allocations: 457.6 kB / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2886, allocations: 1.288 MB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2886, allocations: 0 / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2886, allocations: 0 / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2886, allocations: 0 / 435.1 MB, free: 2.68 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.00245/0.291, allocations: 1.15 MB / 436.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2911, allocations: 8.031 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2912, allocations: 108.2 kB / 436.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009461/0.2922, allocations: 0.4915 MB / 436.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.2922, allocations: 49.62 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2924, allocations: 68.06 kB / 437 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2938, allocations: 0.6441 MB / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2938, allocations: 7.953 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.2938, allocations: 24 kB / 437.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2939, allocations: 12 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2953, allocations: 0.5594 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.2992, allocations: 2.452 MB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3002, allocations: 458.9 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.301, allocations: 277.2 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.3011, allocations: 16.42 kB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3011, allocations: 35 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.3011, allocations: 0 / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004833/0.3059, allocations: 1.505 MB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.306, allocations: 59.91 kB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3072, allocations: 0.938 MB / 443.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.3073, allocations: 37.64 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.3077, allocations: 408.7 kB / 444.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3079, allocations: 218.1 kB / 444.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.3081, allocations: 126.6 kB / 444.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3083, allocations: 326 kB / 445 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.3089, allocations: 241.9 kB / 445.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.3096, allocations: 351.1 kB / 445.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.311, allocations: 0.5633 MB / 446.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.311, allocations: 4 kB / 446.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001702/0.3127, allocations: 0.7347 MB / 446.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.3127, allocations: 11.94 kB / 446.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3127, allocations: 0 / 446.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.3128, allocations: 8.281 kB / 446.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.3136, allocations: 179.8 kB / 447.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3136, allocations: 4 kB / 447.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.3142, allocations: 35.97 kB / 447.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.3142, allocations: 27.98 kB / 447.2 MB, free: 6.273 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.0004098/0.3146, allocations: 265.7 kB / 447.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3148, allocations: 83.42 kB / 447.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.3163, allocations: 0.6422 MB / 448.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3163, allocations: 4 kB / 448.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3163, allocations: 3.938 kB / 448.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3163, allocations: 7.984 kB / 448.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.3195, allocations: 1.763 MB / 449.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3195, allocations: 7.938 kB / 449.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.3201, allocations: 131.8 kB / 450.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3201, allocations: 4 kB / 450.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.3202, allocations: 20.3 kB / 450.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.3202, allocations: 8 kB / 450.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3202, allocations: 4 kB / 450.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3217, allocations: 0.7456 MB / 450.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.3219, allocations: 135.3 kB / 451 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.322, allocations: 12 kB / 451 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.3225, allocations: 35.97 kB / 451 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.3226, allocations: 52.23 kB / 451.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.3226, allocations: 27.92 kB / 451.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000837/0.3234, allocations: 0.6826 MB / 451.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3234, allocations: 4 kB / 451.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005516/0.324, allocations: 148 kB / 451.9 MB, free: 1.32 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.001365/0.3254, allocations: 375 kB / 452.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3268, allocations: 0.5533 MB / 452.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3268, allocations: 0 / 452.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3275, allocations: 275.3 kB / 453.1 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.3282, allocations: 129.5 kB / 453.2 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.3309, allocations: 1.6 MB / 454.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.3315, allocations: 0.9592 MB / 455.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003631/0.3319, allocations: 97.03 kB / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.332, allocations: 55.42 kB / 456 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.332, allocations: 0 / 456 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.01609/0.3481, allocations: 8.201 MB / 464.2 MB, free: 5.203 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 4.7882909113541245]