Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 123.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 192.3 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 59.84 kB / 366.8 MB, free: 428 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09408, allocations: 52.14 MB / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008219/0.1023, allocations: 6.43 MB / 425.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.1062, allocations: 2.205 MB / 427.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.1068, allocations: 19.94 kB / 427.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.1076, allocations: 357.8 kB / 428 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1087, allocations: 496.7 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.1096, allocations: 462.7 kB / 428.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.1113, allocations: 1.538 MB / 430.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.1119, allocations: 357.4 kB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.1126, allocations: 0.5724 MB / 431.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008086/0.1134, allocations: 0.6732 MB / 432 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1136, allocations: 160 kB / 432.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1139, allocations: 191.9 kB / 432.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.1142, allocations: 323 kB / 432.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006205/0.1149, allocations: 0.6688 MB / 433.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1169, allocations: 1.934 MB / 435.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1169, allocations: 0 / 435.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1169, allocations: 0 / 435.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.1169, allocations: 3.938 kB / 435.3 MB, free: 11.76 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00321/0.1201, allocations: 1.576 MB / 436.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1201, allocations: 12.03 kB / 436.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.1204, allocations: 136.1 kB / 437 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1216, allocations: 0.7129 MB / 437.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.1217, allocations: 74.38 kB / 437.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.1218, allocations: 100.1 kB / 437.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.1239, allocations: 1.013 MB / 438.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.1239, allocations: 0 / 438.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/0.124, allocations: 40 kB / 439 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.124, allocations: 24 kB / 439 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1261, allocations: 0.8874 MB / 439.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.1317, allocations: 3.634 MB / 443.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.1349, allocations: 0.8658 MB / 444.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.1357, allocations: 342.1 kB / 444.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.1357, allocations: 8 kB / 444.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1358, allocations: 42.42 kB / 444.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.555e-06/0.1358, allocations: 0 / 444.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005233/0.141, allocations: 1.807 MB / 446.6 MB, free: 168 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1411, allocations: 85.11 kB / 446.6 MB, free: 64 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1916/0.3327, allocations: 0.9796 MB / 447.6 MB, free: 29.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.3328, allocations: 32.2 kB / 447.6 MB, free: 29.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.3333, allocations: 0.5352 MB / 448.2 MB, free: 29.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.3335, allocations: 240.9 kB / 448.4 MB, free: 29.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.334, allocations: 155.7 kB / 448.6 MB, free: 29.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.334, allocations: 339.1 kB / 448.9 MB, free: 29.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3354, allocations: 345.8 kB / 449.2 MB, free: 29.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3367, allocations: 0.5271 MB / 449.8 MB, free: 29.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.3391, allocations: 0.8301 MB / 450.6 MB, free: 29.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.3391, allocations: 0 / 450.6 MB, free: 29.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003104/0.3422, allocations: 1.017 MB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3422, allocations: 12.66 kB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3422, allocations: 6.141 kB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.3423, allocations: 11.94 kB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.344, allocations: 281.7 kB / 451.9 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/0.344, allocations: 13.62 kB / 451.9 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.3453, allocations: 71.72 kB / 452 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.3454, allocations: 37.8 kB / 452 MB, free: 28.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (108): * Single equations (assignments): 108 * 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.0005775/0.346, allocations: 285.6 kB / 452.3 MB, free: 28.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.3462, allocations: 108.2 kB / 452.4 MB, free: 28.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3476, allocations: 385.7 kB / 452.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3476, allocations: 8.25 kB / 452.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3476, allocations: 0.75 kB / 452.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.3477, allocations: 5.016 kB / 452.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005595/0.3533, allocations: 2.304 MB / 455.1 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/0.3533, allocations: 7.688 kB / 455.1 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.3546, allocations: 206.5 kB / 455.3 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.3546, allocations: 10.09 kB / 455.3 MB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.3547, allocations: 25.72 kB / 455.4 MB, free: 27.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-05/0.3547, allocations: 19.16 kB / 455.4 MB, free: 27.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.3547, allocations: 9.156 kB / 455.4 MB, free: 27.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.3571, allocations: 1.031 MB / 456.4 MB, free: 26.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.3574, allocations: 188.1 kB / 456.6 MB, free: 26.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3576, allocations: 22.73 kB / 456.6 MB, free: 26.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/0.3585, allocations: 61.02 kB / 456.7 MB, free: 26.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3587, allocations: 65.16 kB / 456.7 MB, free: 26.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.3588, allocations: 27.75 kB / 456.8 MB, free: 26.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001501/0.3603, allocations: 0.6775 MB / 457.5 MB, free: 26.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3603, allocations: 0 / 457.5 MB, free: 26.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001591/0.3619, allocations: 208.9 kB / 457.7 MB, free: 26.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001704/0.3636, allocations: 386 kB / 458 MB, free: 25.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.3664, allocations: 0.7269 MB / 458.8 MB, free: 25.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.3664, allocations: 5.125 kB / 458.8 MB, free: 25.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3675, allocations: 356.3 kB / 459.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3692, allocations: 210.5 kB / 459.3 MB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.3734, allocations: 1.968 MB / 461.3 MB, free: 24.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.374, allocations: 1.02 MB / 462.3 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.3745, allocations: 81.67 kB / 462.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3745, allocations: 0 / 462.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of Templates: time 0.02443/0.399, allocations: 13.09 MB / 475.5 MB, free: 18.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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: 8.22054001595825]