Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001225/0.001225, allocations: 86.31 kB / 21.99 MB, free: 5.191 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.001356/0.001356, allocations: 161.8 kB / 25.25 MB, free: 3.031 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.287/1.287, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 55.94 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1964, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005861/0.2023, allocations: 4.111 MB / 352.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2051, allocations: 1.68 MB / 354.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.2054, allocations: 11.94 kB / 354.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.2061, allocations: 414.3 kB / 354.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007676/0.2069, allocations: 417.7 kB / 355.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.2075, allocations: 303.5 kB / 355.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.2086, allocations: 1.02 MB / 356.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.2089, allocations: 199 kB / 356.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.2093, allocations: 414.8 kB / 357 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006248/0.21, allocations: 494.1 kB / 357.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.2101, allocations: 100 kB / 357.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2103, allocations: 131.9 kB / 357.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.2105, allocations: 227.3 kB / 358 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.2109, allocations: 370.1 kB / 358.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2122, allocations: 1.283 MB / 359.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2122, allocations: 0 / 359.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2122, allocations: 0 / 359.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2122, allocations: 0 / 359.6 MB, free: 4.375 MB / 318.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.002277/0.2145, allocations: 1.158 MB / 360.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2145, allocations: 12.03 kB / 360.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2147, allocations: 100.3 kB / 360.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.2156, allocations: 0.4953 MB / 361.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.2157, allocations: 49.69 kB / 361.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.2158, allocations: 64.12 kB / 361.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2171, allocations: 0.673 MB / 362.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2171, allocations: 3.953 kB / 362.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.2172, allocations: 24 kB / 362.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2172, allocations: 16 kB / 362.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2185, allocations: 0.5517 MB / 362.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.2221, allocations: 2.001 MB / 364.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.2231, allocations: 454.4 kB / 365.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000725/0.2238, allocations: 290.1 kB / 365.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.2238, allocations: 4.5 kB / 365.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2239, allocations: 43 kB / 365.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.2239, allocations: 4 kB / 365.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004542/0.2284, allocations: 1.492 MB / 367 MB, free: 12.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2285, allocations: 55.91 kB / 367.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.2295, allocations: 0.8907 MB / 368 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2295, allocations: 33.7 kB / 368 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.2299, allocations: 412.5 kB / 368.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.2301, allocations: 222.1 kB / 368.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.2303, allocations: 122.6 kB / 368.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.2305, allocations: 386.8 kB / 369.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.2312, allocations: 241.9 kB / 369.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/0.2319, allocations: 355 kB / 369.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2331, allocations: 0.5555 MB / 370.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2331, allocations: 0 / 370.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001631/0.2348, allocations: 0.727 MB / 371 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2348, allocations: 8 kB / 371 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2348, allocations: 7.938 kB / 371 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2348, allocations: 4.281 kB / 371 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.2356, allocations: 179.7 kB / 371.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2356, allocations: 7.828 kB / 371.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2361, allocations: 47.94 kB / 371.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2362, allocations: 24 kB / 371.3 MB, free: 8.434 MB / 334.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.0003518/0.2365, allocations: 265.7 kB / 371.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2367, allocations: 79.53 kB / 371.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.2382, allocations: 0.6299 MB / 372.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.2382, allocations: 8 kB / 372.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2382, allocations: 4 kB / 372.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2382, allocations: 0 / 372.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.241, allocations: 1.482 MB / 373.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.2411, allocations: 4 kB / 373.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.2417, allocations: 132.2 kB / 373.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.2417, allocations: 4 kB / 373.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.2417, allocations: 23.92 kB / 373.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.2417, allocations: 7.938 kB / 373.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2417, allocations: 4 kB / 373.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2431, allocations: 0.7421 MB / 374.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.2434, allocations: 127.5 kB / 374.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.2434, allocations: 19.92 kB / 374.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.2439, allocations: 35.97 kB / 374.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.244, allocations: 48.3 kB / 374.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.244, allocations: 20 kB / 374.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007684/0.2448, allocations: 0.6435 MB / 375.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 375.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.2453, allocations: 148 kB / 375.7 MB, free: 3.879 MB / 334.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.001416/0.2467, allocations: 396.5 kB / 376.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.2481, allocations: 0.5578 MB / 376.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2481, allocations: 0 / 376.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.2488, allocations: 274.6 kB / 376.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.2495, allocations: 131.5 kB / 377 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.2522, allocations: 1.589 MB / 378.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.2526, allocations: 371 kB / 379 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003513/0.253, allocations: 84.84 kB / 379 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.2531, allocations: 52.48 kB / 379.1 MB, free: 356 kB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2531, allocations: 0 / 379.1 MB, free: 356 kB / 334.1 MB Notification: Performance of Templates: time 0.01505/0.2682, allocations: 7.504 MB / 386.6 MB, free: 8.836 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.397814683965407]