Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001628/0.001628, allocations: 112.5 kB / 21.94 MB, free: 12 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.001815/0.001815, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.541/1.541, allocations: 207.6 MB / 236 MB, free: 10.88 MB / 190.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [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.001891/0.001891, allocations: 52.39 kB / 348.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2469, allocations: 49.16 MB / 397.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006257/0.2532, allocations: 6.275 MB / 403.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.2566, allocations: 1.891 MB / 405.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2577, allocations: 27.56 kB / 405.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.2584, allocations: 214.4 kB / 406 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2595, allocations: 417.2 kB / 406.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.2603, allocations: 369.6 kB / 406.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.2621, allocations: 1.495 MB / 408.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.2627, allocations: 350.7 kB / 408.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.2634, allocations: 0.5519 MB / 409.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.2641, allocations: 0.5995 MB / 409.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.2644, allocations: 158 kB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.2646, allocations: 160.4 kB / 410.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.2648, allocations: 303.7 kB / 410.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000522/0.2653, allocations: 0.6422 MB / 411 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.2671, allocations: 1.855 MB / 412.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2671, allocations: 3.984 kB / 412.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2671, allocations: 5.312 kB / 412.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.2671, allocations: 0 / 412.9 MB, free: 15.8 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003365/0.2705, allocations: 1.398 MB / 414.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2705, allocations: 13.14 kB / 414.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.2708, allocations: 124.3 kB / 414.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.2721, allocations: 0.6144 MB / 415 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.2722, allocations: 73.94 kB / 415.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.2724, allocations: 103.5 kB / 415.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.2743, allocations: 1.005 MB / 416.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.2744, allocations: 6.016 kB / 416.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.2745, allocations: 40.38 kB / 416.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.2745, allocations: 23.62 kB / 416.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2764, allocations: 0.8618 MB / 417.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/0.2822, allocations: 3.259 MB / 420.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2839, allocations: 0.7548 MB / 421.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.2848, allocations: 446 kB / 421.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.2848, allocations: 17.17 kB / 421.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.2849, allocations: 40.31 kB / 421.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.2849, allocations: 4 kB / 421.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009797/0.2947, allocations: 3.942 MB / 425.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.2947, allocations: 97.64 kB / 425.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.2956, allocations: 0.6007 MB / 426.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.2957, allocations: 45.7 kB / 426.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.296, allocations: 437 kB / 426.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.2964, allocations: 416.4 kB / 427.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.2967, allocations: 182.9 kB / 427.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.2969, allocations: 394.7 kB / 427.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008467/0.2978, allocations: 378.4 kB / 428.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.2987, allocations: 0.512 MB / 428.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.3005, allocations: 0.8887 MB / 429.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3005, allocations: 0 / 429.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00249/0.3029, allocations: 1.185 MB / 430.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.303, allocations: 8 kB / 430.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.303, allocations: 3.984 kB / 430.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/0.3034, allocations: 130.5 kB / 430.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3044, allocations: 251.7 kB / 431.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.309, allocations: 4.66 MB / 435.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.31, allocations: 56.06 kB / 435.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.3101, allocations: 39.98 kB / 435.8 MB, free: 12.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000519/0.3106, allocations: 281.5 kB / 436.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3108, allocations: 91.44 kB / 436.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.3124, allocations: 0.7644 MB / 436.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3124, allocations: 15.98 kB / 437 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.3125, allocations: 8 kB / 437 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3125, allocations: 3.984 kB / 437 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.3171, allocations: 2.61 MB / 439.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.3171, allocations: 8 kB / 439.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.318, allocations: 211.7 kB / 439.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/0.3186, allocations: 151.4 kB / 439.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.3186, allocations: 27.98 kB / 440 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/0.3236, allocations: 5.58 MB / 445.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.3236, allocations: 7.969 kB / 445.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.3271, allocations: 1.743 MB / 447.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.3273, allocations: 87.48 kB / 447.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3274, allocations: 24 kB / 447.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.328, allocations: 51.95 kB / 447.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3282, allocations: 80.5 kB / 447.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.3283, allocations: 32.11 kB / 447.6 MB, free: 116 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006366/0.3289, allocations: 443 kB / 448 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3289, allocations: 7.938 kB / 448 MB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009275/0.3298, allocations: 252 kB / 448.3 MB, free: 15.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.33, allocations: 135 kB / 448.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.3326, allocations: 1.295 MB / 449.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3326, allocations: 4.062 kB / 449.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.3341, allocations: 0.9747 MB / 450.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3352, allocations: 178.8 kB / 450.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.3393, allocations: 2.207 MB / 453 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.34, allocations: 1.02 MB / 454.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.3404, allocations: 87.41 kB / 454.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3404, allocations: 0 / 454.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of Templates: time 0.03604/0.3764, allocations: 29.27 MB / 483.4 MB, free: 12.01 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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: 9.569660329958424]