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.00141/0.00141, allocations: 84.25 kB / 20.68 MB, free: 1.039 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.001544/0.001544, allocations: 158.4 kB / 23.95 MB, free: 4.168 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.148 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.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 1.292e-06/1.292e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.833e-05, allocations: 3.438 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00773/0.007748, allocations: 5.823 MB / 330.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.01202, allocations: 2.304 MB / 333.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.01243, allocations: 24.91 kB / 333.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.01318, allocations: 352.8 kB / 333.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01433, allocations: 0.5547 MB / 334.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.01523, allocations: 465.4 kB / 334.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.01688, allocations: 1.618 MB / 336.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.01741, allocations: 328.5 kB / 336.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.01853, allocations: 0.9063 MB / 337.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.01932, allocations: 0.5279 MB / 337.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.01952, allocations: 160.7 kB / 338.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.01994, allocations: 197.8 kB / 338.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.02035, allocations: 330 kB / 338.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.02092, allocations: 480.3 kB / 339 MB, free: 7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.02323, allocations: 2.017 MB / 341.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.02324, allocations: 4 kB / 341.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02324, allocations: 0 / 341.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.02326, allocations: 4 kB / 341.1 MB, free: 4.969 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003053/0.02631, allocations: 1.489 MB / 342.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.02635, allocations: 8.031 kB / 342.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/0.02696, allocations: 164.1 kB / 342.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.02827, allocations: 0.6855 MB / 343.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.02835, allocations: 74.38 kB / 343.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.02851, allocations: 103.8 kB / 343.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.03051, allocations: 1.036 MB / 344.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.03054, allocations: 3.984 kB / 344.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.03064, allocations: 40 kB / 344.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.03066, allocations: 24 kB / 344.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.03247, allocations: 0.8133 MB / 345.5 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.03777, allocations: 2.892 MB / 348.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.03998, allocations: 0.5829 MB / 349 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.04062, allocations: 297.5 kB / 349.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.04067, allocations: 19.91 kB / 349.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.04071, allocations: 38.56 kB / 349.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.294e-06/0.04071, allocations: 0 / 349.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004568/0.04528, allocations: 1.676 MB / 351 MB, free: 10.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.04534, allocations: 85.11 kB / 351.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.04661, allocations: 0.9069 MB / 352 MB, free: 9.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.04667, allocations: 37.7 kB / 352 MB, free: 9.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.04713, allocations: 0.5699 MB / 352.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.04733, allocations: 234 kB / 352.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.04761, allocations: 166.5 kB / 353 MB, free: 8.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.04783, allocations: 398.7 kB / 353.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008127/0.04865, allocations: 305.8 kB / 353.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009775/0.04962, allocations: 0.4951 MB / 354.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.05135, allocations: 0.7747 MB / 354.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.05136, allocations: 4 kB / 354.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002206/0.05356, allocations: 0.9594 MB / 355.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.05359, allocations: 8 kB / 355.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.0536, allocations: 11.98 kB / 355.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.05363, allocations: 8 kB / 355.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.05491, allocations: 275.7 kB / 356.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/0.05493, allocations: 19.91 kB / 356.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.05568, allocations: 47.95 kB / 356.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.05575, allocations: 36 kB / 356.3 MB, free: 5.277 MB / 318.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.0004668/0.05621, allocations: 297.6 kB / 356.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.05639, allocations: 99.33 kB / 356.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008582/0.05725, allocations: 339.4 kB / 357 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.05726, allocations: 8 kB / 357 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.05727, allocations: 0 / 357 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.05728, allocations: 3.984 kB / 357 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.06114, allocations: 2.003 MB / 359 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.06115, allocations: 8.844 kB / 359 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009468/0.0621, allocations: 199.7 kB / 359.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.06211, allocations: 12 kB / 359.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.06216, allocations: 23.98 kB / 359.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.06218, allocations: 11.94 kB / 359.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/0.06219, allocations: 15.88 kB / 359.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.06395, allocations: 1.01 MB / 360.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.06414, allocations: 107.4 kB / 360.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.06426, allocations: 23.98 kB / 360.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.06489, allocations: 43.95 kB / 360.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.06502, allocations: 71.66 kB / 360.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.06507, allocations: 28 kB / 360.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008261/0.0659, allocations: 0.62 MB / 361.2 MB, free: 140 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0659, allocations: 7.938 kB / 361.2 MB, free: 132 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008319/0.06673, allocations: 208 kB / 361.4 MB, free: 15.92 MB / 334.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.001456/0.06819, allocations: 394.6 kB / 361.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.0699, allocations: 0.7029 MB / 362.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.0699, allocations: 0 / 362.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008335/0.07073, allocations: 350.3 kB / 362.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.07191, allocations: 198.8 kB / 363 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.07517, allocations: 1.9 MB / 364.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.07566, allocations: 439.7 kB / 365.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.07611, allocations: 122.7 kB / 365.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.07634, allocations: 64.48 kB / 365.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.07634, allocations: 4 kB / 365.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.02127/0.09761, allocations: 10.6 MB / 376.1 MB, free: 1.312 MB / 334.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: 4.863539442420006]