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.001819/0.001819, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001494/0.001494, allocations: 214 kB / 23.73 MB, free: 4.16 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001612/0.001612, allocations: 48.08 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2199, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008791/0.2287, allocations: 5.829 MB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.2333, allocations: 2.287 MB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2345, allocations: 27.88 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2358, allocations: 361.7 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.2383, allocations: 0.5277 MB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2399, allocations: 458.6 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.2423, allocations: 1.569 MB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.2429, allocations: 330 kB / 442.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008229/0.2438, allocations: 0.5996 MB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.2445, allocations: 0.6106 MB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.2447, allocations: 164 kB / 444.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2451, allocations: 203.9 kB / 444.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.2454, allocations: 327 kB / 444.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.2459, allocations: 0.5561 MB / 445.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.2479, allocations: 1.989 MB / 447.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2479, allocations: 0 / 447.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.545e-06/0.2479, allocations: 7.938 kB / 447.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.248, allocations: 0 / 447.4 MB, free: 6.859 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.002969/0.2509, allocations: 1.497 MB / 448.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.251, allocations: 8.031 kB / 448.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.2515, allocations: 168.1 kB / 449 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.2528, allocations: 0.6735 MB / 449.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.2529, allocations: 74 kB / 449.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.253, allocations: 99.98 kB / 449.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2549, allocations: 1.036 MB / 450.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.255, allocations: 8 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.255, allocations: 36 kB / 451 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.2551, allocations: 24 kB / 451 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.2568, allocations: 0.8133 MB / 451.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/0.262, allocations: 2.895 MB / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.264, allocations: 0.5971 MB / 455.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.2646, allocations: 296 kB / 455.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.2647, allocations: 8 kB / 455.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.2647, allocations: 42.92 kB / 455.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.836e-06/0.2647, allocations: 0 / 455.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004225/0.269, allocations: 1.681 MB / 457.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.269, allocations: 89.05 kB / 457.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.2702, allocations: 0.9069 MB / 458.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.2703, allocations: 37.7 kB / 458.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.2707, allocations: 0.5777 MB / 458.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.2709, allocations: 249.9 kB / 459.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.2712, allocations: 162.6 kB / 459.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.2714, allocations: 394.7 kB / 459.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.2722, allocations: 305.8 kB / 460 MB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.2731, allocations: 0.4913 MB / 460.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.2747, allocations: 0.7863 MB / 461.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2747, allocations: 4 kB / 461.3 MB, free: 8.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002023/0.2768, allocations: 0.9478 MB / 462.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2768, allocations: 12.03 kB / 462.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2768, allocations: 8 kB / 462.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2768, allocations: 8 kB / 462.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.2781, allocations: 271.6 kB / 462.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.2781, allocations: 15.94 kB / 462.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.2788, allocations: 51.95 kB / 462.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.2788, allocations: 35.98 kB / 462.6 MB, free: 7.148 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.0004945/0.2793, allocations: 292.2 kB / 462.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.2795, allocations: 95.39 kB / 463 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.2803, allocations: 352.9 kB / 463.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2803, allocations: 11.98 kB / 463.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2803, allocations: 0 / 463.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2803, allocations: 0 / 463.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/0.284, allocations: 2 MB / 465.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.284, allocations: 11.94 kB / 465.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/0.2849, allocations: 208.3 kB / 465.6 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.2849, allocations: 12 kB / 465.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.2849, allocations: 20 kB / 465.6 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.2849, allocations: 15.92 kB / 465.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.2849, allocations: 11.94 kB / 465.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.2866, allocations: 1.013 MB / 466.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2868, allocations: 111.3 kB / 466.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2869, allocations: 24 kB / 466.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.2875, allocations: 51.95 kB / 466.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2877, allocations: 67.72 kB / 466.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.2877, allocations: 28 kB / 466.9 MB, free: 2.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008146/0.2885, allocations: 0.6162 MB / 467.5 MB, free: 2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2885, allocations: 0 / 467.5 MB, free: 2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.2893, allocations: 208 kB / 467.8 MB, free: 1.797 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.001497/0.2908, allocations: 421 kB / 468.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.2925, allocations: 0.6991 MB / 468.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2925, allocations: 0 / 468.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.2932, allocations: 341.3 kB / 469.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.2944, allocations: 213.3 kB / 469.4 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.2977, allocations: 1.937 MB / 471.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.2982, allocations: 451.5 kB / 471.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005244/0.2987, allocations: 118.7 kB / 471.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2989, allocations: 67.41 kB / 472 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2989, allocations: 0 / 472 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.0211/0.32, allocations: 11.92 MB / 483.9 MB, free: 1.875 MB / 382.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: 4.993759393692017]