Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00131/0.00131, allocations: 89.17 kB / 21.44 MB, free: 272 kB / 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.001381/0.001381, allocations: 165.1 kB / 24.7 MB, free: 3.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.948e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007602/0.007632, allocations: 5.618 MB / 304.6 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.01173, allocations: 2.069 MB / 306.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.01248, allocations: 31.88 kB / 306.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009239/0.0134, allocations: 353.7 kB / 307 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.01471, allocations: 0.4964 MB / 307.5 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.01569, allocations: 439.2 kB / 307.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.01748, allocations: 1.588 MB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.01804, allocations: 333.9 kB / 309.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.01922, allocations: 0.8771 MB / 310.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.01996, allocations: 0.522 MB / 311.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.02018, allocations: 164 kB / 311.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.02053, allocations: 191.9 kB / 311.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.02088, allocations: 330.9 kB / 311.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.02143, allocations: 462.9 kB / 312.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.0237, allocations: 1.986 MB / 314.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.0237, allocations: 0 / 314.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02371, allocations: 0 / 314.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.02372, allocations: 0 / 314.4 MB, free: 9.207 MB / 302.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.003113/0.02684, allocations: 1.489 MB / 315.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.02688, allocations: 8.031 kB / 315.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.02712, allocations: 140.1 kB / 316 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.02835, allocations: 0.6466 MB / 316.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.02843, allocations: 74.38 kB / 316.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.0286, allocations: 100.3 kB / 316.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.03063, allocations: 1.06 MB / 317.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.03067, allocations: 7.938 kB / 317.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.03077, allocations: 44 kB / 317.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.0308, allocations: 20 kB / 318 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.03301, allocations: 0.8835 MB / 318.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/0.03832, allocations: 2.877 MB / 321.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.0416, allocations: 0.8598 MB / 322.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.04249, allocations: 333.9 kB / 322.9 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.04255, allocations: 12.53 kB / 322.9 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.04259, allocations: 38.56 kB / 322.9 MB, free: 416 kB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.627e-06/0.0426, allocations: 0 / 322.9 MB, free: 416 kB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.1467/0.1893, allocations: 1.798 MB / 324.7 MB, free: 33.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1893, allocations: 85.31 kB / 324.8 MB, free: 33.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1904, allocations: 0.8509 MB / 325.7 MB, free: 33.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.1904, allocations: 36.52 kB / 325.7 MB, free: 33.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.1907, allocations: 0.5483 MB / 326.3 MB, free: 32.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1908, allocations: 241.7 kB / 326.5 MB, free: 32.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.1911, allocations: 157.6 kB / 326.7 MB, free: 32.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1912, allocations: 393.8 kB / 327 MB, free: 32.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.1921, allocations: 344.5 kB / 327.4 MB, free: 32.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.1931, allocations: 0.5296 MB / 327.9 MB, free: 31.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.1948, allocations: 0.8273 MB / 328.7 MB, free: 31.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1948, allocations: 1.375 kB / 328.7 MB, free: 31.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002294/0.1971, allocations: 1.002 MB / 329.7 MB, free: 31.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1971, allocations: 6.75 kB / 329.7 MB, free: 31.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1971, allocations: 7.969 kB / 329.7 MB, free: 31.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.1972, allocations: 9.969 kB / 329.8 MB, free: 31.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.1985, allocations: 284.9 kB / 330 MB, free: 30.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.1985, allocations: 14.91 kB / 330.1 MB, free: 30.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.1993, allocations: 68.89 kB / 330.1 MB, free: 30.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.1994, allocations: 36.67 kB / 330.2 MB, free: 30.96 MB / 302.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.000473/0.1999, allocations: 286.8 kB / 330.4 MB, free: 30.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.2001, allocations: 94.64 kB / 330.5 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.2012, allocations: 374.6 kB / 330.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2012, allocations: 7.062 kB / 330.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.2013, allocations: 0.5625 kB / 330.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.2013, allocations: 5.422 kB / 330.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.2054, allocations: 2.005 MB / 332.9 MB, free: 29.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.2054, allocations: 6.562 kB / 332.9 MB, free: 29.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/0.2063, allocations: 213.2 kB / 333.1 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.2063, allocations: 12.31 kB / 333.1 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.2064, allocations: 22.84 kB / 333.2 MB, free: 29.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.598e-05/0.2064, allocations: 16.62 kB / 333.2 MB, free: 29.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.2064, allocations: 7.547 kB / 333.2 MB, free: 29.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.2081, allocations: 1.008 MB / 334.2 MB, free: 28.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2083, allocations: 104.2 kB / 334.3 MB, free: 28.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2084, allocations: 20.08 kB / 334.3 MB, free: 28.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.209, allocations: 51.03 kB / 334.4 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.2091, allocations: 68.48 kB / 334.4 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.2092, allocations: 27.56 kB / 334.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.2098, allocations: 0.5773 MB / 335 MB, free: 28.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2098, allocations: 1 kB / 335 MB, free: 28.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007584/0.2106, allocations: 213 kB / 335.2 MB, free: 28.27 MB / 302.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.001345/0.2119, allocations: 409.5 kB / 335.6 MB, free: 27.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.2137, allocations: 0.7349 MB / 336.4 MB, free: 27.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2137, allocations: 2.125 kB / 336.4 MB, free: 27.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.2145, allocations: 353.7 kB / 336.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2156, allocations: 186.7 kB / 336.9 MB, free: 27.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.2187, allocations: 1.846 MB / 338.8 MB, free: 26.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.2192, allocations: 432.4 kB / 339.2 MB, free: 26.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.2197, allocations: 114 kB / 339.3 MB, free: 26.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.2199, allocations: 65.64 kB / 339.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2199, allocations: 4 kB / 339.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01586/0.2358, allocations: 10.19 MB / 349.5 MB, free: 18.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.676647748798132]