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.001145/0.001145, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.002972, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001183/0.001183, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002782, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9843/0.9843, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08022/1.065, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.742e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006025/0.006043, allocations: 6.292 MB / 251.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.008129, allocations: 1.97 MB / 253.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.008385, allocations: 19.94 kB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.008696, allocations: 222 kB / 253.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.00919, allocations: 440.4 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.009577, allocations: 379.4 kB / 254.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.01044, allocations: 1.553 MB / 255.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.01077, allocations: 341.9 kB / 256.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.01146, allocations: 0.9658 MB / 257.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.01185, allocations: 482.6 kB / 257.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01196, allocations: 156 kB / 257.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.01213, allocations: 156 kB / 257.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.01226, allocations: 235.3 kB / 258.2 MB, free: 420 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.01252, allocations: 387.3 kB / 258.5 MB, free: 32 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.01318, allocations: 0.8839 MB / 259.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.0132, allocations: 0 / 259.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.0132, allocations: 0 / 259.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.01322, allocations: 0 / 259.4 MB, free: 15.14 MB / 266.7 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.001405/0.01462, allocations: 1.574 MB / 261 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.01465, allocations: 8.625 kB / 261 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.01496, allocations: 269.9 kB / 261.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.01542, allocations: 448.8 kB / 261.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.01547, allocations: 74.38 kB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.01555, allocations: 103.9 kB / 261.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.01618, allocations: 0.7278 MB / 262.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.0162, allocations: 3.953 kB / 262.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.01624, allocations: 40 kB / 262.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.01625, allocations: 24 kB / 262.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.01659, allocations: 291.9 kB / 263 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.01863, allocations: 1.975 MB / 264.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.01907, allocations: 457.9 kB / 265.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.01926, allocations: 192.4 kB / 265.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.0193, allocations: 20.25 kB / 265.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.01932, allocations: 43.06 kB / 265.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.064e-06/0.01932, allocations: 0 / 265.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.003324/0.02265, allocations: 2.556 MB / 268.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.02268, allocations: 97.69 kB / 268.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.02299, allocations: 487 kB / 268.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.02302, allocations: 45.64 kB / 268.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.02316, allocations: 386.2 kB / 269.2 MB, free: 5.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.02334, allocations: 416.3 kB / 269.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.0235, allocations: 190.8 kB / 269.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.02361, allocations: 402.6 kB / 270.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.02375, allocations: 106.6 kB / 270.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.02395, allocations: 261.6 kB / 270.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.02434, allocations: 489.1 kB / 271 MB, free: 3.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02434, allocations: 0 / 271 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0005647/0.02491, allocations: 0.5923 MB / 271.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.02492, allocations: 4 kB / 271.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.02493, allocations: 4 kB / 271.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.02518, allocations: 122.6 kB / 271.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.02575, allocations: 283.6 kB / 272 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.02751, allocations: 4.071 MB / 276.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.02773, allocations: 31.98 kB / 276.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.02776, allocations: 27.98 kB / 276.1 MB, free: 13.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * 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.0001763/0.02794, allocations: 177.6 kB / 276.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.02804, allocations: 91.92 kB / 276.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.02849, allocations: 442.8 kB / 276.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.0285, allocations: 12 kB / 276.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.02851, allocations: 4 kB / 276.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.02851, allocations: 7.969 kB / 276.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.02987, allocations: 1.289 MB / 278.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02987, allocations: 0 / 278.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.03036, allocations: 246.9 kB / 278.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.0305, allocations: 83.42 kB / 278.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.0308, allocations: 151.2 kB / 278.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.03083, allocations: 27.98 kB / 278.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.0327, allocations: 4.883 MB / 283.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0327, allocations: 0 / 283.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.03344, allocations: 0.9016 MB / 284.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.03351, allocations: 27.95 kB / 284.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.03371, allocations: 35.95 kB / 284.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.0338, allocations: 84.44 kB / 284.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.03382, allocations: 23.98 kB / 284.6 MB, free: 4.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.03399, allocations: 224.4 kB / 284.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03399, allocations: 0 / 284.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.03444, allocations: 260 kB / 285.1 MB, free: 4.309 MB / 282.7 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 (106): * Single equations (assignments): 102 * 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.000114/0.03455, allocations: 119.8 kB / 285.2 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.03522, allocations: 0.8575 MB / 286 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/0.03524, allocations: 19.98 kB / 286.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.03571, allocations: 0.7788 MB / 286.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.03625, allocations: 293.4 kB / 287.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.04001, allocations: 1.888 MB / 289 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08653/0.1265, allocations: 214.7 kB / 289.2 MB, free: 28.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005283/0.1271, allocations: 115.8 kB / 289.3 MB, free: 28.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.1274, allocations: 249.3 kB / 289.6 MB, free: 28.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1274, allocations: 0.9062 kB / 289.6 MB, free: 28.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01651/0.1439, allocations: 14.31 MB / 303.9 MB, free: 24.92 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9660172378644347]