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.001341/0.001341, allocations: 89.14 kB / 20.68 MB, free: 1.008 MB / 14.72 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.001347/0.001347, allocations: 161.9 kB / 23.95 MB, free: 4.125 MB / 14.72 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.446/1.446, allocations: 177 MB / 204.1 MB, free: 9.113 MB / 190.1 MB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.563e-05, allocations: 5.375 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006114/0.00614, allocations: 4.259 MB / 329.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.009889, allocations: 1.914 MB / 331.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.01024, allocations: 13.06 kB / 331.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008316/0.01107, allocations: 422.1 kB / 331.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009973/0.01207, allocations: 477.8 kB / 332.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.01281, allocations: 327.9 kB / 332.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.01403, allocations: 1.076 MB / 333.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.01442, allocations: 193.2 kB / 333.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.01527, allocations: 0.6043 MB / 334.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/0.01592, allocations: 449.6 kB / 334.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.01605, allocations: 97.88 kB / 334.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.0163, allocations: 133.2 kB / 334.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.01654, allocations: 242.9 kB / 335.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.0169, allocations: 303 kB / 335.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.01832, allocations: 1.315 MB / 336.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01833, allocations: 4 kB / 336.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01833, allocations: 3.938 kB / 336.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.01834, allocations: 5.312 kB / 336.8 MB, free: 8.73 MB / 302.1 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.002325/0.02067, allocations: 1.144 MB / 337.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.02071, allocations: 9.219 kB / 337.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.02123, allocations: 134.6 kB / 338.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.02224, allocations: 0.5156 MB / 338.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.0223, allocations: 48.47 kB / 338.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02241, allocations: 60.38 kB / 338.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.0237, allocations: 0.6617 MB / 339.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.02372, allocations: 0 / 339.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.02379, allocations: 31.94 kB / 339.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.0238, allocations: 12 kB / 339.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.025, allocations: 0.5166 MB / 339.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.02884, allocations: 2.005 MB / 341.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.02982, allocations: 445.2 kB / 342.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.03053, allocations: 262.2 kB / 342.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.03058, allocations: 8.5 kB / 342.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.03061, allocations: 43.06 kB / 342.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.03061, allocations: 3.938 kB / 342.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.005269/0.03588, allocations: 1.452 MB / 344.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.03594, allocations: 64 kB / 344.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.03712, allocations: 0.9104 MB / 345.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.03717, allocations: 37.7 kB / 345.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.03751, allocations: 420.5 kB / 345.5 MB, free: 272 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.03769, allocations: 218.1 kB / 345.8 MB, free: 52 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.03792, allocations: 118.7 kB / 345.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.03814, allocations: 386.8 kB / 346.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.03872, allocations: 229.9 kB / 346.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.03937, allocations: 323.1 kB / 346.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.04059, allocations: 0.5483 MB / 347.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.04059, allocations: 0 / 347.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/0.04215, allocations: 0.7074 MB / 348 MB, free: 13.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.04217, allocations: 7.984 kB / 348 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.04218, allocations: 4 kB / 348.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.0422, allocations: 4 kB / 348.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/0.04302, allocations: 176 kB / 348.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.04304, allocations: 8 kB / 348.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.04356, allocations: 27.98 kB / 348.3 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.04362, allocations: 31.92 kB / 348.3 MB, free: 13.42 MB / 318.1 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.0003786/0.044, allocations: 269.6 kB / 348.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.04413, allocations: 79.48 kB / 348.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.04554, allocations: 0.6066 MB / 349.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.04555, allocations: 8 kB / 349.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.04556, allocations: 3.938 kB / 349.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.04557, allocations: 7.984 kB / 349.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.04841, allocations: 1.459 MB / 350.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.04842, allocations: 8.297 kB / 350.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.04902, allocations: 131.8 kB / 350.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.04903, allocations: 4 kB / 350.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.04907, allocations: 19.98 kB / 350.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.04907, allocations: 4 kB / 350.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.04908, allocations: 11.88 kB / 350.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.05042, allocations: 0.7224 MB / 351.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.05067, allocations: 127.4 kB / 351.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.05076, allocations: 16 kB / 351.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.0512, allocations: 27.97 kB / 351.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.05132, allocations: 52.36 kB / 351.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.05136, allocations: 16 kB / 351.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008393/0.0522, allocations: 0.6552 MB / 352.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0522, allocations: 4 kB / 352.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.05279, allocations: 152 kB / 352.7 MB, free: 8.902 MB / 318.1 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.00164/0.05443, allocations: 387.8 kB / 353 MB, free: 8.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.05579, allocations: 0.5273 MB / 353.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.05579, allocations: 0 / 353.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.05638, allocations: 259.8 kB / 353.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.05719, allocations: 138.7 kB / 354 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.05994, allocations: 1.552 MB / 355.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.06035, allocations: 375.8 kB / 355.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.06072, allocations: 96.94 kB / 356 MB, free: 5.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.06091, allocations: 52.48 kB / 356 MB, free: 5.566 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.06091, allocations: 3.938 kB / 356 MB, free: 5.562 MB / 318.1 MB Notification: Performance of Templates: time 0.01608/0.077, allocations: 7.762 MB / 363.8 MB, free: 13.93 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 4.821322347968817]