Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 106.2 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 217.1 kB / 22.99 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2561, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008999/0.2651, allocations: 6.498 MB / 436.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.269, allocations: 1.909 MB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.27, allocations: 19.94 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.2709, allocations: 222 kB / 438.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.2724, allocations: 428.7 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.2733, allocations: 371.5 kB / 439.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.2753, allocations: 1.507 MB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.2759, allocations: 351 kB / 441.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009193/0.2768, allocations: 0.5684 MB / 441.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.278, allocations: 0.6068 MB / 442.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.2783, allocations: 160 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.2787, allocations: 168 kB / 442.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.279, allocations: 303.1 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006459/0.2796, allocations: 0.665 MB / 443.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.2816, allocations: 1.887 MB / 445.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2816, allocations: 8 kB / 445.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2816, allocations: 0 / 445.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.2817, allocations: 3.938 kB / 445.4 MB, free: 7.824 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002879/0.2845, allocations: 1.468 MB / 446.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2846, allocations: 8.031 kB / 446.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.2851, allocations: 156.1 kB / 447.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2863, allocations: 0.704 MB / 447.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.2864, allocations: 74 kB / 447.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.2865, allocations: 99.95 kB / 447.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.2883, allocations: 0.974 MB / 448.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.2883, allocations: 7.984 kB / 448.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.2884, allocations: 40 kB / 448.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.2884, allocations: 24 kB / 449 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.29, allocations: 0.7938 MB / 449.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005179/0.2952, allocations: 3.322 MB / 453.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.2965, allocations: 0.754 MB / 453.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.2972, allocations: 403.1 kB / 454.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.2973, allocations: 16.5 kB / 454.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2974, allocations: 43.75 kB / 454.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.126e-06/0.2974, allocations: 0 / 454.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008846/0.3062, allocations: 4.207 MB / 458.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3063, allocations: 93.7 kB / 458.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.3071, allocations: 0.6408 MB / 459.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.3072, allocations: 45.7 kB / 459.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.3075, allocations: 441.1 kB / 459.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.3079, allocations: 432.3 kB / 460.1 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.3082, allocations: 186.9 kB / 460.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3084, allocations: 402.7 kB / 460.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.3091, allocations: 346.4 kB / 461 MB, free: 7.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/0.3099, allocations: 492.7 kB / 461.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.3113, allocations: 0.851 MB / 462.4 MB, free: 6.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3113, allocations: 7.938 kB / 462.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002172/0.3135, allocations: 1.142 MB / 463.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3135, allocations: 4 kB / 463.5 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3135, allocations: 4 kB / 463.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.314, allocations: 134.4 kB / 463.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.315, allocations: 239.7 kB / 463.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/0.3194, allocations: 4.981 MB / 468.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/0.3203, allocations: 31.98 kB / 468.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.3204, allocations: 39.98 kB / 468.9 MB, free: 15.25 MB / 382.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 (132): * Single equations (assignments): 129 * 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.0005357/0.3209, allocations: 288.7 kB / 469.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.3211, allocations: 99.33 kB / 469.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3227, allocations: 0.7414 MB / 470.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3227, allocations: 12 kB / 470.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3227, allocations: 4 kB / 470.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3227, allocations: 7.969 kB / 470.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.327, allocations: 2.599 MB / 472.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.327, allocations: 7.938 kB / 472.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009267/0.328, allocations: 195.8 kB / 472.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/0.3285, allocations: 159.4 kB / 473 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/0.3285, allocations: 31.92 kB / 473.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.3335, allocations: 5.994 MB / 479.1 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3335, allocations: 3.984 kB / 479.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.3366, allocations: 1.665 MB / 480.7 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.337, allocations: 248.5 kB / 481 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3371, allocations: 27.95 kB / 481 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.3377, allocations: 35.98 kB / 481 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.3379, allocations: 84.42 kB / 481.1 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.3379, allocations: 35.98 kB / 481.2 MB, free: 2.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006361/0.3386, allocations: 459.1 kB / 481.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 481.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009107/0.3395, allocations: 260 kB / 481.9 MB, free: 1.594 MB / 382.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 (108): * Single equations (assignments): 104 * 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.0001901/0.3397, allocations: 131.1 kB / 482 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.3419, allocations: 1.23 MB / 483.2 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3419, allocations: 0 / 483.2 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.3434, allocations: 0.9446 MB / 484.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3444, allocations: 204.9 kB / 484.4 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.3482, allocations: 2.196 MB / 486.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3489, allocations: 1.037 MB / 487.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.3494, allocations: 124 kB / 487.7 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.3496, allocations: 83.41 kB / 487.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3496, allocations: 0 / 487.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of Templates: time 0.0233/0.3729, allocations: 13.07 MB / 0.4891 GB, free: 14.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.94929919205606]