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.00135/0.00135, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001471/0.001471, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.467/1.467, allocations: 230.3 MB / 258 MB, free: 8.238 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.001989/0.001989, allocations: 67.88 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2533, allocations: 53.36 MB / 432.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009037/0.2623, allocations: 6.499 MB / 438.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.2664, allocations: 1.925 MB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.2669, allocations: 19.94 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.2676, allocations: 218 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.2685, allocations: 432.6 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.2693, allocations: 371.6 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.2709, allocations: 1.506 MB / 443.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/0.2715, allocations: 359.9 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008211/0.2723, allocations: 0.5607 MB / 444 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000742/0.2731, allocations: 0.6146 MB / 444.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.2733, allocations: 160 kB / 444.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.2736, allocations: 164 kB / 444.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.2738, allocations: 303.1 kB / 445.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.2745, allocations: 0.6728 MB / 445.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.2766, allocations: 1.884 MB / 447.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2766, allocations: 0 / 447.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2766, allocations: 0 / 447.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.2766, allocations: 3.938 kB / 447.8 MB, free: 7.371 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.003021/0.2796, allocations: 1.4 MB / 449.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2797, allocations: 8.031 kB / 449.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.2802, allocations: 164.1 kB / 449.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2815, allocations: 0.6228 MB / 450 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.2815, allocations: 74 kB / 450 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.2817, allocations: 104 kB / 450.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.2836, allocations: 0.974 MB / 451.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.2836, allocations: 7.953 kB / 451.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.2837, allocations: 40 kB / 451.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.2838, allocations: 24 kB / 451.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.2854, allocations: 0.7977 MB / 452 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/0.2906, allocations: 3.256 MB / 455.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.292, allocations: 0.7573 MB / 456 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.2927, allocations: 406.2 kB / 456.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.035e-05/0.2928, allocations: 16.44 kB / 456.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2928, allocations: 47.69 kB / 456.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.615e-06/0.2928, allocations: 0 / 456.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009124/0.302, allocations: 3.828 MB / 460.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.302, allocations: 93.7 kB / 460.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.3029, allocations: 0.6408 MB / 461 MB, free: 9.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.303, allocations: 45.69 kB / 461 MB, free: 9.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.3034, allocations: 441.1 kB / 461.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.3037, allocations: 428.3 kB / 461.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.304, allocations: 186.9 kB / 462.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.3043, allocations: 402.7 kB / 462.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.305, allocations: 342.5 kB / 462.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.3059, allocations: 492.7 kB / 463.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3074, allocations: 0.851 MB / 464.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3074, allocations: 7.938 kB / 464.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002203/0.3096, allocations: 1.146 MB / 465.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3096, allocations: 7.984 kB / 465.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3097, allocations: 4 kB / 465.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.3101, allocations: 126.7 kB / 465.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3111, allocations: 235.7 kB / 465.7 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.3155, allocations: 4.674 MB / 470.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.3162, allocations: 35.94 kB / 470.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.3163, allocations: 44.05 kB / 470.4 MB, free: 15.9 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.0004986/0.3168, allocations: 277.2 kB / 470.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.317, allocations: 103.3 kB / 470.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.3186, allocations: 0.7375 MB / 471.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3186, allocations: 12 kB / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3186, allocations: 4 kB / 471.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.3186, allocations: 7.969 kB / 471.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.3229, allocations: 2.579 MB / 474.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3229, allocations: 3.938 kB / 474.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/0.3238, allocations: 191.8 kB / 474.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.3243, allocations: 159.4 kB / 474.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.3243, allocations: 35.92 kB / 474.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/0.3292, allocations: 5.572 MB / 480.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3292, allocations: 4.031 kB / 480.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.3322, allocations: 1.658 MB / 481.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.3326, allocations: 183.3 kB / 481.9 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3327, allocations: 20 kB / 481.9 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.3333, allocations: 39.97 kB / 482 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.3334, allocations: 84.44 kB / 482.1 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.3335, allocations: 31.98 kB / 482.1 MB, free: 3.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.3342, allocations: 463.1 kB / 482.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3342, allocations: 0 / 482.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009883/0.3351, allocations: 260 kB / 482.8 MB, free: 2.887 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.0002106/0.3354, allocations: 143.1 kB / 482.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3376, allocations: 1.234 MB / 484.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3376, allocations: 0 / 484.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.339, allocations: 0.948 MB / 485.1 MB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3401, allocations: 193.3 kB / 485.3 MB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.344, allocations: 2.202 MB / 487.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.3447, allocations: 1.033 MB / 488.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005298/0.3452, allocations: 124 kB / 488.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.3455, allocations: 83.41 kB / 488.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3455, allocations: 0 / 488.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of Templates: time 0.0254/0.3709, allocations: 13.37 MB / 0.4903 GB, free: 15.49 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: 5.132851601578295]