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.001895/0.001895, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002202/0.002202, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001998/0.001998, allocations: 68.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2408, allocations: 53.38 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008578/0.2493, allocations: 6.596 MB / 439 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.2542, allocations: 2.404 MB / 441.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.2549, allocations: 23.88 kB / 441.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008604/0.2558, allocations: 361.8 kB / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.257, allocations: 0.5413 MB / 442.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009562/0.258, allocations: 458.7 kB / 442.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.2599, allocations: 1.569 MB / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.2605, allocations: 354 kB / 444.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008736/0.2613, allocations: 0.6152 MB / 445.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009493/0.2623, allocations: 0.6847 MB / 446 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.2625, allocations: 160 kB / 446.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.2628, allocations: 200 kB / 446.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.2632, allocations: 331 kB / 446.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.2638, allocations: 0.6765 MB / 447.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.2661, allocations: 1.985 MB / 449.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2661, allocations: 4 kB / 449.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2661, allocations: 0 / 449.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.2661, allocations: 0 / 449.3 MB, free: 5.957 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.003156/0.2693, allocations: 1.509 MB / 450.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.2694, allocations: 8.031 kB / 450.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.2699, allocations: 164.1 kB / 451 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.2713, allocations: 0.6735 MB / 451.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.2714, allocations: 77.94 kB / 451.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2716, allocations: 96 kB / 451.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.2736, allocations: 0.9818 MB / 452.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.2736, allocations: 0 / 452.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/0.2737, allocations: 44 kB / 452.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.2738, allocations: 24 kB / 452.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.2755, allocations: 0.821 MB / 453.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/0.2816, allocations: 3.565 MB / 457.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.2836, allocations: 0.5906 MB / 457.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.2843, allocations: 289.6 kB / 458.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.2844, allocations: 12 kB / 458.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2844, allocations: 43.41 kB / 458.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.425e-06/0.2844, allocations: 4 kB / 458.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004686/0.2891, allocations: 1.689 MB / 459.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.2891, allocations: 85.11 kB / 460 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.2907, allocations: 1.038 MB / 461 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.2907, allocations: 33.7 kB / 461.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.2912, allocations: 0.5662 MB / 461.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.2914, allocations: 238 kB / 461.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.2917, allocations: 166.5 kB / 462 MB, free: 8.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2919, allocations: 345.9 kB / 462.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007909/0.2926, allocations: 305.8 kB / 462.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2937, allocations: 0.4913 MB / 463.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.2954, allocations: 0.7756 MB / 463.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2954, allocations: 0 / 463.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002302/0.2977, allocations: 0.9712 MB / 464.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2977, allocations: 14.84 kB / 464.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2977, allocations: 4 kB / 464.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.2978, allocations: 8 kB / 464.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.299, allocations: 275.5 kB / 465.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.299, allocations: 19.92 kB / 465.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3, allocations: 59.88 kB / 465.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.3001, allocations: 32 kB / 465.3 MB, free: 5.48 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.0005741/0.3007, allocations: 292.6 kB / 465.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.3009, allocations: 111.3 kB / 465.7 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.3018, allocations: 357.8 kB / 466 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3018, allocations: 4 kB / 466.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3018, allocations: 4 kB / 466.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3018, allocations: 3.938 kB / 466.1 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.3058, allocations: 2.258 MB / 468.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.3059, allocations: 11.97 kB / 468.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.3067, allocations: 203.7 kB / 468.5 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/0.3068, allocations: 8 kB / 468.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.3068, allocations: 20 kB / 468.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.3068, allocations: 27.86 kB / 468.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.3068, allocations: 11.94 kB / 468.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3086, allocations: 1.041 MB / 469.6 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.3089, allocations: 115.3 kB / 469.7 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.309, allocations: 23.98 kB / 469.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.3096, allocations: 47.95 kB / 469.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3098, allocations: 71.72 kB / 469.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.3098, allocations: 24 kB / 469.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.3108, allocations: 0.719 MB / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3108, allocations: 0 / 470.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008253/0.3116, allocations: 212 kB / 470.8 MB, free: 15.68 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.001331/0.313, allocations: 385.4 kB / 471.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.3148, allocations: 0.6986 MB / 471.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3148, allocations: 0 / 471.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.3156, allocations: 353.7 kB / 472.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.3169, allocations: 211.2 kB / 472.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.3205, allocations: 1.972 MB / 474.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/0.3213, allocations: 1.037 MB / 475.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000613/0.3219, allocations: 135.5 kB / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3221, allocations: 71.42 kB / 475.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3221, allocations: 0 / 475.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02544/0.3475, allocations: 11.72 MB / 487.4 MB, free: 15.24 MB / 398.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/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-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: 5.146702183410525]