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.001691/0.001691, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001772/0.001772, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.452/1.452, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001832/0.001832, allocations: 63.91 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09407, allocations: 53.31 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2/0.2941, allocations: 6.566 MB / 434.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.298, allocations: 2.391 MB / 436.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.2986, allocations: 19.97 kB / 436.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008466/0.2994, allocations: 362.2 kB / 437.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3005, allocations: 0.54 MB / 437.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.3013, allocations: 456.8 kB / 438.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3028, allocations: 1.571 MB / 439.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.3033, allocations: 355.9 kB / 440.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.3041, allocations: 0.5942 MB / 440.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.3049, allocations: 0.6807 MB / 441.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.3051, allocations: 160.5 kB / 441.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.3055, allocations: 200.6 kB / 441.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.3057, allocations: 332.5 kB / 442 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.3063, allocations: 0.681 MB / 442.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.3084, allocations: 1.982 MB / 444.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3084, allocations: 0 / 444.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3084, allocations: 4 kB / 444.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.3085, allocations: 0 / 444.7 MB, free: 4.043 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.003069/0.3115, allocations: 1.576 MB / 446.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3116, allocations: 8.938 kB / 446.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.3121, allocations: 164 kB / 446.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3132, allocations: 0.7444 MB / 447.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/0.3133, allocations: 73.56 kB / 447.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3134, allocations: 95.02 kB / 447.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.3152, allocations: 0.9872 MB / 448.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3153, allocations: 1.938 kB / 448.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.3154, allocations: 40.09 kB / 448.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.3154, allocations: 23.19 kB / 448.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3171, allocations: 0.8177 MB / 449.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/0.3225, allocations: 3.662 MB / 452.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3245, allocations: 0.5977 MB / 453.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.3252, allocations: 288.8 kB / 453.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.3252, allocations: 8.656 kB / 453.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3253, allocations: 42.47 kB / 453.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.084e-06/0.3253, allocations: 3.938 kB / 453.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004598/0.3299, allocations: 1.693 MB / 455.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.3299, allocations: 83.83 kB / 455.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3314, allocations: 1.039 MB / 456.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.3315, allocations: 44.3 kB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.3319, allocations: 0.5527 MB / 457.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.3322, allocations: 250.7 kB / 457.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.3324, allocations: 161.1 kB / 457.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3326, allocations: 342.8 kB / 457.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/0.3334, allocations: 307.3 kB / 458.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.3344, allocations: 498.7 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3361, allocations: 0.7849 MB / 459.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3361, allocations: 3.469 kB / 459.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002169/0.3383, allocations: 0.9704 MB / 460.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3383, allocations: 8.219 kB / 460.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3383, allocations: 10.23 kB / 460.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3383, allocations: 9.5 kB / 460.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3395, allocations: 271.2 kB / 460.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.3396, allocations: 18.7 kB / 460.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.3403, allocations: 51.23 kB / 460.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.3404, allocations: 31.69 kB / 460.9 MB, free: 10.57 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.000431/0.3408, allocations: 296.4 kB / 461.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.341, allocations: 109.5 kB / 461.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.3419, allocations: 352 kB / 461.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3419, allocations: 6.875 kB / 461.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3419, allocations: 1.5 kB / 461.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3419, allocations: 7.922 kB / 461.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.3461, allocations: 2.299 MB / 463.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3461, allocations: 7.062 kB / 463.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.347, allocations: 206.4 kB / 464.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/0.347, allocations: 14.16 kB / 464.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.3471, allocations: 19.38 kB / 464.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.3471, allocations: 17.64 kB / 464.2 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.3471, allocations: 11.22 kB / 464.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3491, allocations: 1.034 MB / 465.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.3494, allocations: 195.1 kB / 465.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3495, allocations: 18.94 kB / 465.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.3501, allocations: 55.27 kB / 465.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3503, allocations: 61.06 kB / 465.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.3503, allocations: 29.83 kB / 465.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009602/0.3513, allocations: 0.7199 MB / 466.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 466.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008034/0.3521, allocations: 215.9 kB / 466.5 MB, free: 6.746 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.001391/0.3535, allocations: 393.6 kB / 466.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.3552, allocations: 0.6969 MB / 467.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3552, allocations: 2.188 kB / 467.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.356, allocations: 344 kB / 467.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3573, allocations: 224.3 kB / 468.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.3606, allocations: 1.995 MB / 470.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.3613, allocations: 1.033 MB / 471.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.3616, allocations: 80.28 kB / 471.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3616, allocations: 4 kB / 471.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of Templates: time 0.02114/0.3828, allocations: 13.53 MB / 484.8 MB, free: 7.375 MB / 382.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_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_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: 8.602924314094707]