Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001545/0.001545, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 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.001757/0.001757, allocations: 213.1 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2466, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007884/0.2545, allocations: 5.724 MB / 438.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2584, allocations: 1.827 MB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.2591, allocations: 23.88 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.2597, allocations: 214 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.2609, allocations: 424.7 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.2617, allocations: 375.6 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.2635, allocations: 1.495 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.2641, allocations: 325.9 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.265, allocations: 0.5801 MB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.2657, allocations: 0.5365 MB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.2659, allocations: 156 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.2662, allocations: 168 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.2665, allocations: 303.1 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.267, allocations: 0.5407 MB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.269, allocations: 1.903 MB / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.269, allocations: 0 / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.269, allocations: 0 / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.269, allocations: 0 / 446.9 MB, free: 8.117 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.002943/0.272, allocations: 1.4 MB / 448.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.272, allocations: 16.03 kB / 448.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2726, allocations: 156 kB / 448.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.2738, allocations: 0.6267 MB / 449.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.2739, allocations: 78 kB / 449.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2741, allocations: 100 kB / 449.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2758, allocations: 1.024 MB / 450.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.2759, allocations: 7.953 kB / 450.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.276, allocations: 40 kB / 450.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.276, allocations: 24 kB / 450.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2776, allocations: 0.7899 MB / 451.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005011/0.2826, allocations: 2.716 MB / 453.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.284, allocations: 0.7644 MB / 454.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.2847, allocations: 414.7 kB / 455 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.474e-05/0.2848, allocations: 16.5 kB / 455 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2848, allocations: 51.59 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.675e-06/0.2848, allocations: 0 / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008736/0.2935, allocations: 3.81 MB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.2936, allocations: 93.7 kB / 459 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.2944, allocations: 0.5771 MB / 459.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.2945, allocations: 41.7 kB / 459.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.2948, allocations: 457 kB / 460.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.2952, allocations: 424.3 kB / 460.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.2955, allocations: 186.9 kB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.2957, allocations: 394.7 kB / 461 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.2964, allocations: 346.5 kB / 461.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.2972, allocations: 488.7 kB / 461.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2987, allocations: 0.8471 MB / 462.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2987, allocations: 0 / 462.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002177/0.3009, allocations: 1.146 MB / 463.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.3009, allocations: 8 kB / 463.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.3009, allocations: 0 / 463.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.3013, allocations: 134.7 kB / 464 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.3023, allocations: 239.7 kB / 464.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.3064, allocations: 4.574 MB / 468.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.3071, allocations: 39.92 kB / 468.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.3072, allocations: 39.94 kB / 468.9 MB, free: 1.367 MB / 366.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.0004908/0.3077, allocations: 289.7 kB / 469.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3078, allocations: 91.44 kB / 469.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3093, allocations: 0.7409 MB / 470 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3093, allocations: 12 kB / 470 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.3093, allocations: 4 kB / 470 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3093, allocations: 3.984 kB / 470 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.3132, allocations: 2.168 MB / 472.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3132, allocations: 0 / 472.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.3141, allocations: 195.7 kB / 472.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.3145, allocations: 155.4 kB / 472.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.3146, allocations: 27.98 kB / 472.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.3194, allocations: 5.473 MB / 478 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3194, allocations: 8.094 kB / 478 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.3223, allocations: 1.653 MB / 479.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.3228, allocations: 175.4 kB / 479.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.323, allocations: 23.94 kB / 479.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.3236, allocations: 47.86 kB / 479.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.3238, allocations: 84.44 kB / 480 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.3238, allocations: 27.98 kB / 480 MB, free: 5.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005957/0.3244, allocations: 414.8 kB / 480.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 0 / 480.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3254, allocations: 260 kB / 480.7 MB, free: 5.008 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.0001871/0.3256, allocations: 135.1 kB / 480.8 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.3279, allocations: 1.219 MB / 482 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3279, allocations: 8.062 kB / 482 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.3293, allocations: 0.9356 MB / 483 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3304, allocations: 197.3 kB / 483.2 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.3345, allocations: 2.227 MB / 485.4 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.335, allocations: 454.3 kB / 485.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.3354, allocations: 87.41 kB / 485.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3354, allocations: 0 / 485.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of Templates: time 0.03969/0.375, allocations: 30.38 MB / 0.5042 GB, free: 1.219 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.168404144234955]