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.001842/0.001842, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002325/0.002325, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001629/0.001629, allocations: 51.92 kB / 378.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2286, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007979/0.2366, allocations: 5.709 MB / 437.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.24, allocations: 1.835 MB / 439.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.2404, allocations: 27.88 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.2409, allocations: 218 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008611/0.2418, allocations: 416.8 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.2425, allocations: 379.5 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.2441, allocations: 1.499 MB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.2446, allocations: 327.5 kB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.2453, allocations: 0.5723 MB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.2461, allocations: 0.5365 MB / 443.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.2463, allocations: 156 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.2466, allocations: 168 kB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.2469, allocations: 307 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.2474, allocations: 0.5408 MB / 444.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.2494, allocations: 1.903 MB / 446.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2494, allocations: 0 / 446.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2494, allocations: 0 / 446.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.2494, allocations: 3.938 kB / 446.1 MB, free: 8.098 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.002917/0.2523, allocations: 1.392 MB / 447.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.2523, allocations: 12.03 kB / 447.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/0.253, allocations: 160 kB / 447.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2542, allocations: 0.6267 MB / 448.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.2543, allocations: 74 kB / 448.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.2545, allocations: 103.9 kB / 448.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.2563, allocations: 1.028 MB / 449.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.2563, allocations: 7.953 kB / 449.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.2564, allocations: 40 kB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.2565, allocations: 24 kB / 449.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2581, allocations: 0.7899 MB / 450.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.263, allocations: 2.716 MB / 453.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.2644, allocations: 0.7602 MB / 453.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.2651, allocations: 405.5 kB / 454.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.2652, allocations: 16.44 kB / 454.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.2652, allocations: 43.62 kB / 454.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.986e-06/0.2652, allocations: 0 / 454.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008631/0.2739, allocations: 3.825 MB / 458.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.2739, allocations: 89.77 kB / 458.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.2747, allocations: 0.581 MB / 458.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.2748, allocations: 45.7 kB / 458.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.2751, allocations: 457 kB / 459.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.2755, allocations: 424.3 kB / 459.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.2758, allocations: 186.9 kB / 459.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.276, allocations: 394.7 kB / 460.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.2767, allocations: 342.5 kB / 460.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.2776, allocations: 488.6 kB / 461.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.2792, allocations: 0.851 MB / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2792, allocations: 0 / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002248/0.2815, allocations: 1.154 MB / 463.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2815, allocations: 8 kB / 463.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2815, allocations: 0 / 463.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.2819, allocations: 130.5 kB / 463.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2829, allocations: 239.7 kB / 463.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.2871, allocations: 4.574 MB / 468 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.2877, allocations: 39.91 kB / 468.1 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.2878, allocations: 36 kB / 468.1 MB, free: 1.355 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.0004624/0.2883, allocations: 281.6 kB / 468.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2884, allocations: 95.42 kB / 468.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.29, allocations: 0.7412 MB / 469.2 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.29, allocations: 15.98 kB / 469.2 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.29, allocations: 8 kB / 469.2 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.29, allocations: 3.984 kB / 469.2 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.2939, allocations: 2.172 MB / 471.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2939, allocations: 0 / 471.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.2948, allocations: 195.8 kB / 471.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.2952, allocations: 155.3 kB / 471.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.2953, allocations: 27.98 kB / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.2999, allocations: 5.465 MB / 477.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2999, allocations: 0 / 477.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.3028, allocations: 1.665 MB / 478.9 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.3032, allocations: 167.4 kB / 479.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3034, allocations: 32.05 kB / 479.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.3039, allocations: 39.92 kB / 479.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3041, allocations: 80.5 kB / 479.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.3041, allocations: 35.98 kB / 479.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005901/0.3047, allocations: 414.8 kB / 479.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3047, allocations: 0 / 479.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009207/0.3056, allocations: 260 kB / 479.9 MB, free: 4.996 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.0001797/0.3058, allocations: 135.2 kB / 480.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.308, allocations: 1.223 MB / 481.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.308, allocations: 4 kB / 481.3 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3094, allocations: 0.9402 MB / 482.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3104, allocations: 206 kB / 482.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3142, allocations: 2.186 MB / 484.6 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.3147, allocations: 450.3 kB / 485.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005007/0.3152, allocations: 115.6 kB / 485.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3154, allocations: 83.41 kB / 485.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3154, allocations: 0 / 485.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.02474/0.3402, allocations: 13.8 MB / 499 MB, free: 1.91 MB / 398.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/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_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: 5.092422764748335]