Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2309, allocations: 53.37 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008587/0.2395, allocations: 6.607 MB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2437, allocations: 2.404 MB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.2441, allocations: 19.94 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.2449, allocations: 361.7 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.246, allocations: 0.5433 MB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.2468, allocations: 466.4 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2484, allocations: 1.565 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.2489, allocations: 358 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.2497, allocations: 0.6113 MB / 444.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008622/0.2505, allocations: 0.6809 MB / 445.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.2508, allocations: 164 kB / 445.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.2511, allocations: 203.9 kB / 445.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.2515, allocations: 323 kB / 445.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.2521, allocations: 0.6882 MB / 446.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.2542, allocations: 1.981 MB / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2542, allocations: 0 / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2542, allocations: 0 / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.2542, allocations: 0 / 448.6 MB, free: 5.934 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.002993/0.2572, allocations: 1.505 MB / 450.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2573, allocations: 11.97 kB / 450.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/0.2578, allocations: 164.1 kB / 450.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2591, allocations: 0.6774 MB / 450.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.2592, allocations: 74 kB / 451 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2593, allocations: 99.98 kB / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.2611, allocations: 0.9779 MB / 452.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.2612, allocations: 4 kB / 452.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.2613, allocations: 40 kB / 452.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2613, allocations: 24 kB / 452.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.2631, allocations: 0.8172 MB / 452.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005727/0.2688, allocations: 3.558 MB / 456.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.2709, allocations: 0.6022 MB / 457.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.2715, allocations: 288 kB / 457.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.2715, allocations: 15.98 kB / 457.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2716, allocations: 39.47 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.054e-06/0.2716, allocations: 4 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004451/0.276, allocations: 1.69 MB / 459.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2761, allocations: 85.11 kB / 459.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.2775, allocations: 1.042 MB / 460.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.2776, allocations: 33.7 kB / 460.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.2781, allocations: 0.5623 MB / 460.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2783, allocations: 242 kB / 461.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.2785, allocations: 162.6 kB / 461.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2787, allocations: 345.9 kB / 461.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.2794, allocations: 305.8 kB / 461.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.2803, allocations: 0.4952 MB / 462.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.2819, allocations: 0.7786 MB / 463.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2819, allocations: 0 / 463.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00206/0.284, allocations: 0.9712 MB / 464.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.284, allocations: 15.97 kB / 464.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.284, allocations: 4 kB / 464.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.284, allocations: 8 kB / 464.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.2853, allocations: 271.6 kB / 464.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.2853, allocations: 15.94 kB / 464.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.286, allocations: 55.89 kB / 464.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.2861, allocations: 35.98 kB / 464.5 MB, free: 5.457 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.0004378/0.2865, allocations: 290.7 kB / 464.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.2867, allocations: 111.2 kB / 464.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.2875, allocations: 358.4 kB / 465.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2875, allocations: 4 kB / 465.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2875, allocations: 4 kB / 465.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.2875, allocations: 7.922 kB / 465.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.2917, allocations: 2.25 MB / 467.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.2917, allocations: 12.02 kB / 467.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/0.2926, allocations: 199.7 kB / 467.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.2926, allocations: 8 kB / 467.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.2927, allocations: 27.98 kB / 467.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.2927, allocations: 19.94 kB / 467.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.2927, allocations: 11.94 kB / 467.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.2944, allocations: 1.037 MB / 468.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.2947, allocations: 119.3 kB / 469 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.2948, allocations: 23.94 kB / 469 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.2955, allocations: 51.89 kB / 469 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2956, allocations: 71.72 kB / 469.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.2957, allocations: 31.98 kB / 469.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.2967, allocations: 0.7151 MB / 469.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2967, allocations: 0 / 469.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.2976, allocations: 212 kB / 470.1 MB, free: 15.66 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.001387/0.299, allocations: 380.8 kB / 470.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.3008, allocations: 0.7025 MB / 471.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.3008, allocations: 0 / 471.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.3016, allocations: 349.8 kB / 471.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.3028, allocations: 222.5 kB / 471.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.3065, allocations: 1.964 MB / 473.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.3073, allocations: 1.033 MB / 474.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.3078, allocations: 131.5 kB / 474.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.3081, allocations: 75.41 kB / 474.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3081, allocations: 0 / 474.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02306/0.3311, allocations: 11.71 MB / 486.6 MB, free: 15.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.03555110306479]