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.001317/0.001317, allocations: 82.23 kB / 21.43 MB, free: 296 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.001412/0.001412, allocations: 160.8 kB / 24.7 MB, free: 3.551 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.345/1.345, allocations: 158.6 MB / 186.5 MB, free: 6.398 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.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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.655e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007999/0.008026, allocations: 5.525 MB / 304.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.01196, allocations: 1.804 MB / 306.3 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009871/0.01295, allocations: 23.88 kB / 306.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.01377, allocations: 214.1 kB / 306.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01496, allocations: 424.5 kB / 306.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.01577, allocations: 383.4 kB / 307.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.01744, allocations: 1.53 MB / 308.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.01797, allocations: 321.8 kB / 309.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/0.01891, allocations: 0.8421 MB / 310 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006867/0.0196, allocations: 466.5 kB / 310.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.01984, allocations: 160 kB / 310.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.02008, allocations: 164 kB / 310.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.02034, allocations: 303 kB / 311.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004971/0.02084, allocations: 459 kB / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.0228, allocations: 1.908 MB / 313.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.0228, allocations: 0 / 313.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0228, allocations: 0 / 313.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.02283, allocations: 0 / 313.4 MB, free: 10.18 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00303/0.02585, allocations: 1.392 MB / 314.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.0259, allocations: 11.98 kB / 314.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.02612, allocations: 128.1 kB / 314.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.02735, allocations: 0.6108 MB / 315.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/0.02743, allocations: 74.38 kB / 315.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.02761, allocations: 92.38 kB / 315.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.02965, allocations: 1.056 MB / 316.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.02969, allocations: 16.12 kB / 316.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.02979, allocations: 36.38 kB / 316.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.02981, allocations: 27.94 kB / 316.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.03182, allocations: 0.864 MB / 317.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.03665, allocations: 2.712 MB / 320.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.03813, allocations: 0.7597 MB / 321.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009185/0.03904, allocations: 439.5 kB / 321.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.0391, allocations: 12.48 kB / 321.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.03915, allocations: 54.86 kB / 321.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.03915, allocations: 0 / 321.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.2202/0.2594, allocations: 3.929 MB / 325.6 MB, free: 32.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.2594, allocations: 94.31 kB / 325.7 MB, free: 32.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.2602, allocations: 0.5488 MB / 326.2 MB, free: 32.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.2603, allocations: 47.36 kB / 326.3 MB, free: 32.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.2606, allocations: 444.3 kB / 326.7 MB, free: 32.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.2609, allocations: 411.3 kB / 327.1 MB, free: 31.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.2612, allocations: 184.4 kB / 327.3 MB, free: 31.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2614, allocations: 389.6 kB / 327.7 MB, free: 31.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/0.2624, allocations: 381.9 kB / 328.1 MB, free: 31.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2634, allocations: 0.5064 MB / 328.6 MB, free: 31.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.2652, allocations: 0.8918 MB / 329.5 MB, free: 30.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2652, allocations: 1.375 kB / 329.5 MB, free: 30.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002346/0.2676, allocations: 1.181 MB / 330.6 MB, free: 30.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2676, allocations: 6.969 kB / 330.6 MB, free: 30.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2676, allocations: 6.281 kB / 330.7 MB, free: 30.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.268, allocations: 130.6 kB / 330.8 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.269, allocations: 252.8 kB / 331 MB, free: 30.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.272, allocations: 4.567 MB / 335.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.2727, allocations: 48.7 kB / 335.6 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/0.2728, allocations: 46.23 kB / 335.7 MB, free: 25.69 MB / 302.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.0004532/0.2733, allocations: 278.8 kB / 336 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.2734, allocations: 90.66 kB / 336 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.275, allocations: 0.7615 MB / 336.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.275, allocations: 11.88 kB / 336.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.275, allocations: 6.344 kB / 336.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.275, allocations: 7.422 kB / 336.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.2791, allocations: 2.206 MB / 339 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2791, allocations: 1.031 kB / 339 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.28, allocations: 204 kB / 339.2 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.2805, allocations: 162.3 kB / 339.4 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.2806, allocations: 26.16 kB / 339.4 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.2838, allocations: 5.465 MB / 344.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2838, allocations: 4.812 kB / 344.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.287, allocations: 1.737 MB / 346.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.2873, allocations: 85.95 kB / 346.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2874, allocations: 24.11 kB / 346.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.288, allocations: 45.14 kB / 346.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.2881, allocations: 84.59 kB / 346.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.2882, allocations: 33.41 kB / 346.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.2887, allocations: 391.9 kB / 347.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 4 kB / 347.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000981/0.2897, allocations: 251.9 kB / 347.5 MB, free: 17.39 MB / 302.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.0001731/0.2899, allocations: 131.3 kB / 347.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.2923, allocations: 1.296 MB / 349 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2923, allocations: 9.562 kB / 349 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2936, allocations: 0.9666 MB / 349.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.2945, allocations: 181.3 kB / 350.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.2974, allocations: 1.992 MB / 352.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2977, allocations: 438.2 kB / 352.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.298, allocations: 111.9 kB / 352.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.2982, allocations: 77.36 kB / 352.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2982, allocations: 0 / 352.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Templates: time 0.01704/0.3153, allocations: 11.98 MB / 364.7 MB, free: 2.336 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/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: 4.951043773442507]