Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0007624/0.0007624, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001863, 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.0006992/0.0006992, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009589/0.001658, 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 1.002/1.002, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08564/1.088, allocations: 53.86 MB / 243.9 MB, free: 14.87 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.593e-05, allocations: 6.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00414/0.004156, allocations: 4.653 MB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.007482, allocations: 2.021 MB / 251.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.007829, allocations: 19.88 kB / 251.9 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.00843, allocations: 426 kB / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007332/0.009164, allocations: 477.1 kB / 252.8 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.009797, allocations: 331.2 kB / 253.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.0109, allocations: 1.063 MB / 254.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.01119, allocations: 205 kB / 254.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.01205, allocations: 0.6989 MB / 255.1 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.01253, allocations: 431 kB / 255.5 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.01263, allocations: 92 kB / 255.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.01283, allocations: 128 kB / 255.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.01296, allocations: 191.4 kB / 255.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.01316, allocations: 255.4 kB / 256.1 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.01381, allocations: 0.6734 MB / 256.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.01382, allocations: 0 / 256.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01382, allocations: 0 / 256.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.01384, allocations: 0 / 256.8 MB, free: 1.922 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001782/0.01562, allocations: 1.27 MB / 258.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.01566, allocations: 12.62 kB / 258.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.01599, allocations: 213.9 kB / 258.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01646, allocations: 406.1 kB / 258.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.0165, allocations: 45.69 kB / 258.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.01658, allocations: 64.38 kB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.01711, allocations: 490.1 kB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.01713, allocations: 0 / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.01716, allocations: 24 kB / 259.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.01718, allocations: 16 kB / 259.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.01742, allocations: 177.1 kB / 259.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.0192, allocations: 1.459 MB / 260.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01951, allocations: 240 kB / 261.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.01971, allocations: 146.2 kB / 261.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.01974, allocations: 16.42 kB / 261.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01976, allocations: 43 kB / 261.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.01977, allocations: 0 / 261.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001277/0.02104, allocations: 0.7784 MB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.02108, allocations: 60.06 kB / 262.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.02151, allocations: 0.642 MB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.02154, allocations: 37.7 kB / 262.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.02169, allocations: 330.4 kB / 263.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.0218, allocations: 218.1 kB / 263.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.02191, allocations: 126.5 kB / 263.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.02203, allocations: 398.5 kB / 263.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.02212, allocations: 65.95 kB / 264 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.02226, allocations: 171.1 kB / 264.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.02253, allocations: 299.5 kB / 264.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.02254, allocations: 4 kB / 264.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003535/0.02289, allocations: 349 kB / 264.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02291, allocations: 4 kB / 264.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.02291, allocations: 4 kB / 264.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.02293, allocations: 4 kB / 264.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.02335, allocations: 195.7 kB / 265 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.02336, allocations: 8 kB / 265 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.02353, allocations: 28.05 kB / 265.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.02383, allocations: 24 kB / 265.1 MB, free: 9.348 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.02397, allocations: 152.5 kB / 265.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.02404, allocations: 67.92 kB / 265.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.02439, allocations: 313.3 kB / 265.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.0244, allocations: 4 kB / 265.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.0244, allocations: 0 / 265.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.02441, allocations: 7.922 kB / 265.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.02547, allocations: 0.9141 MB / 266.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.02548, allocations: 4 kB / 266.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.02578, allocations: 152.1 kB / 266.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02589, allocations: 79.45 kB / 266.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.02589, allocations: 8 kB / 266.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.02591, allocations: 15.98 kB / 266.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.02592, allocations: 4 kB / 266.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.02592, allocations: 7.938 kB / 266.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.02624, allocations: 444.3 kB / 267.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.02628, allocations: 12 kB / 267.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.02644, allocations: 31.98 kB / 267.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.0265, allocations: 44.36 kB / 267.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.02652, allocations: 12 kB / 267.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.02676, allocations: 335.4 kB / 267.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02676, allocations: 0 / 267.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.02708, allocations: 159.9 kB / 267.8 MB, free: 6.473 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.0282, allocations: 492.9 kB / 268.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.02853, allocations: 291.6 kB / 268.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/0.02854, allocations: 16.77 kB / 268.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.02873, allocations: 198 kB / 268.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007601/0.02949, allocations: 1.141 MB / 269.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.03243, allocations: 1.435 MB / 271.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.03254, allocations: 176.2 kB / 271.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.03276, allocations: 81.03 kB / 271.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.03302, allocations: 177.3 kB / 271.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03302, allocations: 0 / 271.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of Templates: time 0.01237/0.04539, allocations: 8.84 MB / 280.6 MB, free: 9.676 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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: 2.957563718780875]