Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001276/0.001276, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001481/0.001481, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2221, allocations: 53.37 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006519/0.2286, allocations: 4.257 MB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.232, allocations: 1.905 MB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.2323, allocations: 11.94 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.2331, allocations: 414.2 kB / 438.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009224/0.234, allocations: 473.6 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.2347, allocations: 327.4 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.2357, allocations: 1.036 MB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.2361, allocations: 215 kB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.2366, allocations: 430.6 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.2372, allocations: 0.5372 MB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.2373, allocations: 96 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.2375, allocations: 132 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.2378, allocations: 243.1 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.2381, allocations: 370.1 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2394, allocations: 1.31 MB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2395, allocations: 8 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2395, allocations: 0 / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.2395, allocations: 0 / 444 MB, free: 10.92 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002275/0.2417, allocations: 1.154 MB / 445.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2418, allocations: 8.031 kB / 445.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.2423, allocations: 136.2 kB / 445.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.2433, allocations: 0.5231 MB / 445.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.2433, allocations: 45.31 kB / 445.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2434, allocations: 60 kB / 446 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2447, allocations: 0.6536 MB / 446.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.2447, allocations: 4 kB / 446.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.2448, allocations: 27.94 kB / 446.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2448, allocations: 16 kB / 446.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2459, allocations: 0.5127 MB / 447.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.2495, allocations: 2.012 MB / 449.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.2505, allocations: 448.9 kB / 449.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.2511, allocations: 258 kB / 449.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.2512, allocations: 12.42 kB / 449.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2512, allocations: 39 kB / 449.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 4.198e-06/0.2512, allocations: 7.922 kB / 449.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004432/0.2556, allocations: 1.464 MB / 451.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2557, allocations: 60 kB / 451.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.2568, allocations: 0.9104 MB / 452.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.2568, allocations: 33.7 kB / 452.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.2571, allocations: 416.5 kB / 452.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.2573, allocations: 222.1 kB / 453 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2576, allocations: 122.6 kB / 453.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.2578, allocations: 386.8 kB / 453.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.2583, allocations: 233.9 kB / 453.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.2589, allocations: 323.1 kB / 454.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2601, allocations: 0.5482 MB / 454.6 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2601, allocations: 0 / 454.6 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001507/0.2616, allocations: 0.7075 MB / 455.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2616, allocations: 8 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.2616, allocations: 0 / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2616, allocations: 8 kB / 455.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.2624, allocations: 168 kB / 455.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2625, allocations: 7.938 kB / 455.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.263, allocations: 35.97 kB / 455.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.263, allocations: 24 kB / 455.6 MB, free: 15.1 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0003424/0.2634, allocations: 261.7 kB / 455.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.2635, allocations: 87.42 kB / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.2649, allocations: 0.6066 MB / 456.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2649, allocations: 0 / 456.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2649, allocations: 0 / 456.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.2651, allocations: 131.4 kB / 456.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.2652, allocations: 7.938 kB / 456.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.2657, allocations: 31.98 kB / 456.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/0.2658, allocations: 40.58 kB / 456.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001527/0.2673, allocations: 0.6455 MB / 457.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001245/0.2685, allocations: 0.7433 MB / 458.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005025/0.269, allocations: 229 kB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007968/0.2698, allocations: 0.6591 MB / 459 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Backend: time 5.1e-07/0.2698, allocations: 0 / 459 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.2727, allocations: 0.8064 MB / 459.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 0.002544/0.2753, allocations: 1.86 MB / 461.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of Templates: time 0.0194/0.2947, allocations: 11.19 MB / 472.9 MB, free: 14.07 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.67595829799393]