Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001391/0.001391, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001554/0.001554, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.478/1.478, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.88 kB / 378.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 53.36 MB / 432.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009143/0.2994, allocations: 6.611 MB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005579/0.305, allocations: 2.407 MB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3064, allocations: 27.81 kB / 441.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3074, allocations: 357.8 kB / 441.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.3088, allocations: 0.5413 MB / 442.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.31, allocations: 458.8 kB / 442.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.3121, allocations: 1.565 MB / 444.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.3126, allocations: 354 kB / 444.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.3134, allocations: 0.6113 MB / 445 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.3142, allocations: 0.6886 MB / 445.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.3144, allocations: 160 kB / 445.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.3147, allocations: 196 kB / 446.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.315, allocations: 335 kB / 446.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.3156, allocations: 0.6804 MB / 447.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3176, allocations: 1.977 MB / 449.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3177, allocations: 0 / 449.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3177, allocations: 3.938 kB / 449.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3177, allocations: 0 / 449.1 MB, free: 6.195 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002985/0.3207, allocations: 1.509 MB / 450.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3207, allocations: 8.031 kB / 450.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00055/0.3212, allocations: 164.1 kB / 450.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3225, allocations: 0.6741 MB / 451.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.3226, allocations: 74 kB / 451.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3227, allocations: 99.97 kB / 451.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.3246, allocations: 0.9779 MB / 452.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3246, allocations: 4 kB / 452.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.3247, allocations: 44 kB / 452.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3247, allocations: 24 kB / 452.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.3265, allocations: 0.8133 MB / 453.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/0.3322, allocations: 3.569 MB / 457 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.3343, allocations: 0.5968 MB / 457.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/0.335, allocations: 292.6 kB / 457.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.335, allocations: 15.92 kB / 457.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3351, allocations: 43.09 kB / 458 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.185e-06/0.3351, allocations: 0 / 458 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004484/0.3396, allocations: 1.694 MB / 459.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.3396, allocations: 81.11 kB / 459.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.341, allocations: 1.042 MB / 460.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.3411, allocations: 37.7 kB / 460.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.3415, allocations: 0.5623 MB / 461.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.3417, allocations: 238 kB / 461.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.342, allocations: 162.6 kB / 461.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3422, allocations: 341.9 kB / 462.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.3431, allocations: 309.8 kB / 462.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.3441, allocations: 0.4913 MB / 462.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3458, allocations: 0.7824 MB / 463.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3458, allocations: 4 kB / 463.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002151/0.3479, allocations: 0.9673 MB / 464.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.348, allocations: 12.03 kB / 464.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.348, allocations: 4 kB / 464.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.348, allocations: 12 kB / 464.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3493, allocations: 267.6 kB / 464.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.3493, allocations: 15.92 kB / 465 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.35, allocations: 59.89 kB / 465 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.3501, allocations: 35.98 kB / 465.1 MB, free: 5.715 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 (112): * Single equations (assignments): 112 * 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.0004205/0.3505, allocations: 289.5 kB / 465.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.3507, allocations: 111.3 kB / 465.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.3516, allocations: 350.7 kB / 465.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3516, allocations: 8 kB / 465.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3516, allocations: 0 / 465.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3516, allocations: 3.984 kB / 465.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.3556, allocations: 2.254 MB / 468.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3556, allocations: 12.03 kB / 468.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.3565, allocations: 199.7 kB / 468.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.3566, allocations: 12 kB / 468.3 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.3566, allocations: 27.98 kB / 468.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.3566, allocations: 15.94 kB / 468.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.3566, allocations: 11.94 kB / 468.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3584, allocations: 1.037 MB / 469.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.3587, allocations: 119.3 kB / 469.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.3588, allocations: 20 kB / 469.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.3595, allocations: 51.95 kB / 469.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3596, allocations: 63.78 kB / 469.6 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.3596, allocations: 31.98 kB / 469.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.3607, allocations: 0.7228 MB / 470.4 MB, free: 136 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3607, allocations: 0 / 470.4 MB, free: 136 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008056/0.3615, allocations: 219.9 kB / 470.6 MB, free: 15.91 MB / 382.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.001341/0.3628, allocations: 374.4 kB / 470.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.3646, allocations: 0.7025 MB / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3646, allocations: 0 / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.3655, allocations: 353.7 kB / 472 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3667, allocations: 223 kB / 472.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3702, allocations: 1.964 MB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/0.3709, allocations: 1.03 MB / 475.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005493/0.3715, allocations: 127.5 kB / 475.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3717, allocations: 75.41 kB / 475.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3717, allocations: 0 / 475.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02275/0.3945, allocations: 11.72 MB / 487.1 MB, free: 15.44 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.017720979638398]