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.0008715/0.0008715, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.00197, allocations: 457.8 kB / 10.45 MB, free: 244 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.001079/0.001079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002482, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9893/0.9893, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.091, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.272e-06/1.272e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.846e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007517/0.007536, allocations: 6.284 MB / 251.5 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.01184, allocations: 1.971 MB / 253.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.01265, allocations: 23.88 kB / 253.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.01322, allocations: 214 kB / 253.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.0143, allocations: 444.4 kB / 254.1 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.01505, allocations: 383.4 kB / 254.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01672, allocations: 1.556 MB / 256 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.01726, allocations: 337.9 kB / 256.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.01877, allocations: 0.9736 MB / 257.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.01949, allocations: 482.6 kB / 257.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.0197, allocations: 156 kB / 258 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.01997, allocations: 156 kB / 258.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.02017, allocations: 235.3 kB / 258.4 MB, free: 312 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.02061, allocations: 387.4 kB / 258.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.02175, allocations: 0.8876 MB / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.02176, allocations: 0 / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02177, allocations: 0 / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.0218, allocations: 0 / 259.6 MB, free: 15.04 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.001651/0.02346, allocations: 1.57 MB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.02349, allocations: 8.625 kB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.02385, allocations: 269.9 kB / 261.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.02438, allocations: 448.8 kB / 261.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.02442, allocations: 78.31 kB / 262 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.02452, allocations: 99.94 kB / 262.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.02522, allocations: 0.7278 MB / 262.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.02524, allocations: 3.953 kB / 262.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.02529, allocations: 44 kB / 262.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.02531, allocations: 28 kB / 262.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.02571, allocations: 287.9 kB / 263.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.02795, allocations: 1.967 MB / 265.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.0284, allocations: 456.4 kB / 265.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.0286, allocations: 204.3 kB / 265.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.02864, allocations: 24.25 kB / 265.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.02867, allocations: 39.06 kB / 265.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 1.763e-06/0.02867, allocations: 0 / 265.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.004038/0.03271, allocations: 2.612 MB / 268.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.03274, allocations: 93.7 kB / 268.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.03309, allocations: 491 kB / 269 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.03313, allocations: 41.7 kB / 269.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.03329, allocations: 394.2 kB / 269.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.03349, allocations: 412.3 kB / 269.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.03367, allocations: 190.8 kB / 270 MB, free: 4.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.03379, allocations: 398.6 kB / 270.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.03394, allocations: 110.6 kB / 270.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.03414, allocations: 261.6 kB / 270.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.03456, allocations: 494.7 kB / 271.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.03456, allocations: 4 kB / 271.3 MB, free: 2.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006212/0.03518, allocations: 0.5921 MB / 271.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.0352, allocations: 4 kB / 271.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.03521, allocations: 4.344 kB / 271.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.03549, allocations: 126.4 kB / 272 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.03609, allocations: 287.6 kB / 272.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.0381, allocations: 4.067 MB / 276.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.03842, allocations: 31.98 kB / 276.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.03846, allocations: 28 kB / 276.4 MB, free: 13.53 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.0001908/0.03865, allocations: 181.6 kB / 276.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.03875, allocations: 91.92 kB / 276.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.03921, allocations: 438.8 kB / 277.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.03922, allocations: 12 kB / 277.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.03923, allocations: 8 kB / 277.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.03924, allocations: 7.969 kB / 277.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.04077, allocations: 1.286 MB / 278.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.04077, allocations: 0 / 278.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.04127, allocations: 243.7 kB / 278.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.04145, allocations: 91.39 kB / 278.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/0.04178, allocations: 147.2 kB / 278.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.04182, allocations: 35.92 kB / 278.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.04393, allocations: 4.879 MB / 283.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.04394, allocations: 0 / 283.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.04479, allocations: 0.9095 MB / 284.7 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.04486, allocations: 23.95 kB / 284.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.04509, allocations: 35.98 kB / 284.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.0452, allocations: 84.38 kB / 284.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.04523, allocations: 27.98 kB / 284.9 MB, free: 4.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.04541, allocations: 220.4 kB / 285.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04541, allocations: 0 / 285.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000562/0.04597, allocations: 256 kB / 285.3 MB, free: 4.117 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.0001364/0.04611, allocations: 119.6 kB / 285.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007912/0.0469, allocations: 0.8714 MB / 286.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.798e-05/0.04693, allocations: 23.92 kB / 286.3 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.04753, allocations: 0.8339 MB / 287.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09814/0.1457, allocations: 1.904 MB / 289.1 MB, free: 34.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.1508, allocations: 1.881 MB / 291 MB, free: 33.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.151, allocations: 213.7 kB / 291.2 MB, free: 33.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.1516, allocations: 128.4 kB / 291.3 MB, free: 33.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.1521, allocations: 262.8 kB / 291.6 MB, free: 33.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1521, allocations: 0 / 291.6 MB, free: 33.77 MB / 282.7 MB Notification: Performance of Templates: time 0.02277/0.1748, allocations: 14.7 MB / 306.3 MB, free: 29.43 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0239385943859816]