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.002013/0.002013, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.002371/0.002371, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.002119/0.002119, allocations: 63.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2617, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008626/0.2703, allocations: 6.483 MB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.2743, allocations: 1.928 MB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.275, allocations: 19.88 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.2757, allocations: 234 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.2769, allocations: 416.8 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.2777, allocations: 375.5 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.2795, allocations: 1.51 MB / 443.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.2801, allocations: 353.6 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.281, allocations: 0.5685 MB / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.2818, allocations: 0.6107 MB / 444.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.282, allocations: 156 kB / 445.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.2823, allocations: 176 kB / 445.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.2826, allocations: 303.1 kB / 445.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.2833, allocations: 0.6611 MB / 446.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.2854, allocations: 1.893 MB / 448.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2854, allocations: 4 kB / 448.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2854, allocations: 0 / 448.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.2854, allocations: 0 / 448.1 MB, free: 7.039 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.003311/0.2887, allocations: 1.392 MB / 449.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2888, allocations: 8.031 kB / 449.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005657/0.2893, allocations: 156.1 kB / 449.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.2906, allocations: 0.6384 MB / 450.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.2907, allocations: 74 kB / 450.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.2909, allocations: 96 kB / 450.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.2927, allocations: 0.9779 MB / 451.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.2927, allocations: 3.953 kB / 451.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.2928, allocations: 44 kB / 451.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2928, allocations: 24 kB / 451.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.2945, allocations: 0.7937 MB / 452.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00568/0.3001, allocations: 3.256 MB / 455.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3016, allocations: 0.7635 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.3024, allocations: 406.2 kB / 456.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.3024, allocations: 28.39 kB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3025, allocations: 43.69 kB / 456.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.865e-06/0.3025, allocations: 4 kB / 456.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.009278/0.3118, allocations: 3.813 MB / 460.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3118, allocations: 89.77 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/0.3128, allocations: 0.6369 MB / 461.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.514e-05/0.3128, allocations: 45.7 kB / 461.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.3132, allocations: 453.1 kB / 461.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.3136, allocations: 428.3 kB / 462.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.3139, allocations: 186.9 kB / 462.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.3141, allocations: 398.7 kB / 462.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.3149, allocations: 346.4 kB / 463.1 MB, free: 7.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.3157, allocations: 492.6 kB / 463.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3173, allocations: 0.851 MB / 464.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3173, allocations: 3.938 kB / 464.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002311/0.3196, allocations: 1.142 MB / 465.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3196, allocations: 8 kB / 465.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3196, allocations: 4 kB / 465.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.3201, allocations: 126.5 kB / 465.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3211, allocations: 251.6 kB / 466 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.3257, allocations: 4.662 MB / 470.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/0.3266, allocations: 31.98 kB / 470.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.3267, allocations: 43.98 kB / 470.7 MB, free: 15.59 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.0005269/0.3272, allocations: 277.7 kB / 471 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.3274, allocations: 103.3 kB / 471.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.329, allocations: 0.7414 MB / 471.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.329, allocations: 12 kB / 471.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.329, allocations: 0 / 471.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.3291, allocations: 15.91 kB / 471.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.3334, allocations: 2.568 MB / 474.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3334, allocations: 12 kB / 474.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.3343, allocations: 191.8 kB / 474.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.3347, allocations: 155.3 kB / 474.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.3348, allocations: 24 kB / 474.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/0.3399, allocations: 5.584 MB / 480.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3399, allocations: 0 / 480.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.343, allocations: 1.662 MB / 482.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.3434, allocations: 183.3 kB / 482.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3436, allocations: 27.94 kB / 482.3 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.3441, allocations: 31.98 kB / 482.3 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.3443, allocations: 88.42 kB / 482.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.3444, allocations: 32.12 kB / 482.4 MB, free: 3.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006544/0.345, allocations: 459.1 kB / 482.9 MB, free: 2.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 4 kB / 482.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009566/0.346, allocations: 264 kB / 483.1 MB, free: 2.562 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.0002034/0.3462, allocations: 139 kB / 483.3 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3484, allocations: 1.23 MB / 484.5 MB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3485, allocations: 0 / 484.5 MB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.3499, allocations: 0.9518 MB / 485.4 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3511, allocations: 202.4 kB / 485.6 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.3554, allocations: 2.223 MB / 487.9 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.3562, allocations: 1.033 MB / 488.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.3567, allocations: 91.41 kB / 489 MB, free: 12.53 MB / 398.1 MB Notification: Performance of SimCode: time 1.634e-06/0.3567, allocations: 0 / 489 MB, free: 12.53 MB / 398.1 MB Notification: Performance of Templates: time 0.03824/0.3949, allocations: 30.18 MB / 0.507 GB, free: 14.35 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/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: 9.420600345823914]