Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001852/0.001852, allocations: 114.7 kB / 19.17 MB, free: 3.895 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.002236/0.002236, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2014/0.3042, allocations: 6.559 MB / 434.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.3079, allocations: 2.39 MB / 437 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.3087, allocations: 20.56 kB / 437 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.3095, allocations: 365.4 kB / 437.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3109, allocations: 0.5409 MB / 437.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3119, allocations: 454.8 kB / 438.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.3137, allocations: 1.566 MB / 439.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.3142, allocations: 355.8 kB / 440.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.315, allocations: 0.5936 MB / 440.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007709/0.3158, allocations: 0.6886 MB / 441.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.316, allocations: 160.2 kB / 441.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.3164, allocations: 198.3 kB / 441.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3167, allocations: 327.7 kB / 442.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.3172, allocations: 0.6835 MB / 442.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.3196, allocations: 1.986 MB / 444.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3196, allocations: 0.75 kB / 444.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3196, allocations: 1.219 kB / 444.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.3196, allocations: 0 / 444.9 MB, free: 3.828 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.003249/0.3229, allocations: 1.576 MB / 446.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3229, allocations: 9.5 kB / 446.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.3235, allocations: 161.2 kB / 446.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3246, allocations: 0.7449 MB / 447.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.3247, allocations: 73.19 kB / 447.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3248, allocations: 95.86 kB / 447.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3266, allocations: 0.9873 MB / 448.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.3266, allocations: 1.984 kB / 448.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.3267, allocations: 36.41 kB / 448.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3267, allocations: 23.66 kB / 448.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.3283, allocations: 0.8206 MB / 449.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005509/0.3338, allocations: 3.662 MB / 453.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.3359, allocations: 0.5943 MB / 453.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.3366, allocations: 295 kB / 454 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.3366, allocations: 18.02 kB / 454 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3366, allocations: 42.81 kB / 454 MB, free: 14.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.875e-06/0.3367, allocations: 0 / 454 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004696/0.3413, allocations: 1.674 MB / 455.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.3414, allocations: 88.14 kB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.343, allocations: 1.037 MB / 456.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.343, allocations: 36.45 kB / 456.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.3435, allocations: 0.5609 MB / 457.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.3437, allocations: 245.6 kB / 457.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.344, allocations: 162.6 kB / 457.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3442, allocations: 345.9 kB / 458.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.3449, allocations: 308 kB / 458.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.3459, allocations: 498.3 kB / 458.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.3475, allocations: 0.7862 MB / 459.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3475, allocations: 1.406 kB / 459.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002223/0.3497, allocations: 0.974 MB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3497, allocations: 7.188 kB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3497, allocations: 9.844 kB / 460.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.3498, allocations: 9.938 kB / 460.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.351, allocations: 278.8 kB / 461 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.351, allocations: 10.88 kB / 461 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/0.3519, allocations: 51.23 kB / 461.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.352, allocations: 39.08 kB / 461.1 MB, free: 10.3 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.0005395/0.3525, allocations: 301.3 kB / 461.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.3527, allocations: 107.2 kB / 461.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/0.3536, allocations: 349.5 kB / 461.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3536, allocations: 6.969 kB / 461.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3536, allocations: 1 kB / 461.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3536, allocations: 13.23 kB / 461.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.3579, allocations: 2.285 MB / 464.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3579, allocations: 6.031 kB / 464.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008901/0.3588, allocations: 210.9 kB / 464.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.3588, allocations: 14 kB / 464.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.3588, allocations: 23.92 kB / 464.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.3589, allocations: 8.844 kB / 464.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.3589, allocations: 11.75 kB / 464.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.3608, allocations: 1.04 MB / 465.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.3612, allocations: 199.1 kB / 465.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3613, allocations: 19.56 kB / 465.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.362, allocations: 54.7 kB / 465.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.3621, allocations: 64.56 kB / 465.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.3622, allocations: 29.2 kB / 465.8 MB, free: 6.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.3633, allocations: 0.7163 MB / 466.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3633, allocations: 0 / 466.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009394/0.3642, allocations: 212.5 kB / 466.7 MB, free: 6.488 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.001315/0.3655, allocations: 389.8 kB / 467.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.3673, allocations: 0.6987 MB / 467.8 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3673, allocations: 2.562 kB / 467.8 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.3681, allocations: 349.8 kB / 468.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3695, allocations: 223.2 kB / 468.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.373, allocations: 1.996 MB / 470.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.3737, allocations: 1.036 MB / 471.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.374, allocations: 83.72 kB / 471.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.374, allocations: 5.5 kB / 471.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of Templates: time 0.02276/0.3968, allocations: 13.55 MB / 485 MB, free: 7.152 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.565522950142622]