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.001909/0.001909, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002453/0.002453, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.546/1.546, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.00187/0.00187, allocations: 55.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008278/0.2935, allocations: 6.604 MB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2978, allocations: 2.407 MB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.2983, allocations: 23.88 kB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008191/0.2992, allocations: 361.7 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3003, allocations: 0.5434 MB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.3012, allocations: 462.8 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3028, allocations: 1.565 MB / 444.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.3033, allocations: 359.6 kB / 444.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.3041, allocations: 0.5996 MB / 445.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/0.305, allocations: 0.6887 MB / 446 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.3052, allocations: 160 kB / 446.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.3055, allocations: 199.9 kB / 446.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.3058, allocations: 331 kB / 446.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.3064, allocations: 0.6843 MB / 447.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.3084, allocations: 1.985 MB / 449.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3085, allocations: 0 / 449.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3085, allocations: 3.938 kB / 449.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.3085, allocations: 0 / 449.4 MB, free: 5.75 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.003014/0.3115, allocations: 1.501 MB / 450.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3115, allocations: 15.97 kB / 450.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.3121, allocations: 164.1 kB / 451 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.3133, allocations: 0.678 MB / 451.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.3134, allocations: 74 kB / 451.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3136, allocations: 99.98 kB / 451.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.3154, allocations: 0.9779 MB / 452.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3155, allocations: 0 / 452.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.3155, allocations: 40 kB / 452.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.3156, allocations: 24 kB / 452.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.3173, allocations: 0.8171 MB / 453.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.3229, allocations: 3.561 MB / 457.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.3249, allocations: 0.5971 MB / 457.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.3255, allocations: 304.1 kB / 458.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.3255, allocations: 7.984 kB / 458.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3255, allocations: 43.16 kB / 458.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.224e-06/0.3255, allocations: 0 / 458.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004244/0.3298, allocations: 1.685 MB / 459.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3299, allocations: 89.11 kB / 460 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.332, allocations: 1.042 MB / 461.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/0.332, allocations: 37.7 kB / 461.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.3327, allocations: 0.5623 MB / 461.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.333, allocations: 238 kB / 461.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.3334, allocations: 162.6 kB / 462.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3336, allocations: 337.9 kB / 462.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.3348, allocations: 313.8 kB / 462.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3362, allocations: 491.1 kB / 463.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.3387, allocations: 0.7902 MB / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3387, allocations: 0 / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003315/0.342, allocations: 0.9671 MB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3421, allocations: 8 kB / 464.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3421, allocations: 12 kB / 465 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.3421, allocations: 11.94 kB / 465 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.3441, allocations: 275.8 kB / 465.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.3441, allocations: 8 kB / 465.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3453, allocations: 51.95 kB / 465.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3454, allocations: 43.92 kB / 465.3 MB, free: 5.277 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.000665/0.3461, allocations: 293.5 kB / 465.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.3464, allocations: 115.2 kB / 465.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3477, allocations: 346.8 kB / 466.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3477, allocations: 8 kB / 466.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3477, allocations: 0 / 466.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3477, allocations: 7.969 kB / 466.1 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.3539, allocations: 2.258 MB / 468.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.3539, allocations: 11.98 kB / 468.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.3554, allocations: 212.1 kB / 468.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/0.3554, allocations: 8 kB / 468.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.3555, allocations: 23.98 kB / 468.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.3555, allocations: 8 kB / 468.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.3555, allocations: 11.94 kB / 468.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.3582, allocations: 1.037 MB / 469.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.3587, allocations: 123.3 kB / 469.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.3589, allocations: 19.94 kB / 469.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.36, allocations: 51.95 kB / 469.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3601, allocations: 63.78 kB / 469.9 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.3602, allocations: 35.98 kB / 469.9 MB, free: 424 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.3619, allocations: 0.7112 MB / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3619, allocations: 0 / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001523/0.3634, allocations: 219.9 kB / 470.9 MB, free: 15.47 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.001908/0.3653, allocations: 382.3 kB / 471.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.368, allocations: 0.6902 MB / 471.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.368, allocations: 5.312 kB / 471.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.3692, allocations: 348 kB / 472.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.3713, allocations: 229.4 kB / 472.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.3766, allocations: 2.009 MB / 474.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.3777, allocations: 1.033 MB / 475.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.3781, allocations: 87.41 kB / 475.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3781, allocations: 0 / 475.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02774/0.4059, allocations: 13.54 MB / 489.2 MB, free: 13.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/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: 9.17225634609349]