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.001714/0.001714, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002173/0.002173, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001596/0.001596, allocations: 47.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2252, allocations: 53.35 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006392/0.2316, allocations: 4.732 MB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.2349, allocations: 2.018 MB / 438.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.2355, allocations: 11.94 kB / 438.4 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.2365, allocations: 422.2 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.2378, allocations: 477.5 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.2388, allocations: 319.4 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.2404, allocations: 1.04 MB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.2409, allocations: 207.1 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.2416, allocations: 442.5 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/0.2423, allocations: 0.5333 MB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.2424, allocations: 96 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2427, allocations: 136 kB / 442 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2429, allocations: 243.1 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.2433, allocations: 457.6 kB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.2448, allocations: 1.309 MB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2448, allocations: 4 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2448, allocations: 0 / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2448, allocations: 0 / 444 MB, free: 10.51 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.002204/0.247, allocations: 1.158 MB / 445.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2471, allocations: 12.02 kB / 445.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.2475, allocations: 132.3 kB / 445.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.2485, allocations: 0.5153 MB / 445.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.2486, allocations: 45.31 kB / 445.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2487, allocations: 67.98 kB / 445.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2499, allocations: 0.6285 MB / 446.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2499, allocations: 0 / 446.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.25, allocations: 31.98 kB / 446.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.25, allocations: 12 kB / 446.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2511, allocations: 0.5282 MB / 447.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.255, allocations: 2.46 MB / 449.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.256, allocations: 453 kB / 450 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.2566, allocations: 268.8 kB / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.2567, allocations: 4.438 kB / 450.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.2567, allocations: 46.98 kB / 450.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.784e-06/0.2567, allocations: 0 / 450.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004213/0.2609, allocations: 1.456 MB / 451.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.261, allocations: 64.05 kB / 451.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.2622, allocations: 0.9655 MB / 452.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.2622, allocations: 33.7 kB / 452.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2625, allocations: 412.7 kB / 453.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.2627, allocations: 230 kB / 453.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.2629, allocations: 130.6 kB / 453.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2631, allocations: 330 kB / 453.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.2636, allocations: 225.9 kB / 454.2 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.2642, allocations: 327.1 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.2654, allocations: 0.5444 MB / 455 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2654, allocations: 4 kB / 455 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001429/0.2668, allocations: 0.7113 MB / 455.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2668, allocations: 8.266 kB / 455.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2668, allocations: 8 kB / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2668, allocations: 4 kB / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.2676, allocations: 163.8 kB / 455.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2676, allocations: 8 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.2681, allocations: 27.98 kB / 456 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.2681, allocations: 35.92 kB / 456 MB, free: 14.19 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.0003539/0.2685, allocations: 281.5 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2686, allocations: 87.44 kB / 456.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.2699, allocations: 0.6072 MB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2699, allocations: 4 kB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2699, allocations: 4 kB / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2699, allocations: 4 kB / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.2728, allocations: 1.749 MB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2728, allocations: 7.969 kB / 458.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.2734, allocations: 131.8 kB / 458.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2734, allocations: 4 kB / 458.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.2734, allocations: 19.98 kB / 458.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.2734, allocations: 7.938 kB / 458.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2734, allocations: 4 kB / 458.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2747, allocations: 0.7299 MB / 459.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.2749, allocations: 131.4 kB / 459.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.275, allocations: 19.98 kB / 459.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.2754, allocations: 23.98 kB / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.2755, allocations: 48.3 kB / 459.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.2756, allocations: 23.98 kB / 459.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008609/0.2764, allocations: 0.6982 MB / 460.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2764, allocations: 0 / 460.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.277, allocations: 159.9 kB / 460.7 MB, free: 9.277 MB / 366.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 (63): * Single equations (assignments): 63 * 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.001333/0.2783, allocations: 376.4 kB / 461.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2795, allocations: 0.5269 MB / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2795, allocations: 4 kB / 461.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.2801, allocations: 255.3 kB / 461.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.2809, allocations: 144.7 kB / 462 MB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.2835, allocations: 1.616 MB / 463.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.2841, allocations: 0.9747 MB / 464.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.2845, allocations: 97.17 kB / 464.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.2847, allocations: 63.36 kB / 464.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2847, allocations: 0 / 464.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of Templates: time 0.01665/0.3013, allocations: 8.508 MB / 473.3 MB, free: 12.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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.88286336697638]