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.001309/0.001309, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001389/0.001389, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.451/1.451, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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 1.483e-06/1.483e-06, allocations: 0 / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.361e-05, allocations: 3.625 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008196/0.00822, allocations: 5.828 MB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.01376, allocations: 2.303 MB / 333.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.01444, allocations: 24.38 kB / 333.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008713/0.01531, allocations: 357.5 kB / 333.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.01671, allocations: 0.5543 MB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.01786, allocations: 455.6 kB / 334.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.01969, allocations: 1.618 MB / 336.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006014/0.02029, allocations: 330 kB / 336.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.02156, allocations: 0.9019 MB / 337.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.02236, allocations: 0.5273 MB / 337.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.02257, allocations: 160.9 kB / 338.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.02292, allocations: 194.5 kB / 338.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.02323, allocations: 336.5 kB / 338.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.02377, allocations: 478.9 kB / 339.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.02596, allocations: 2.025 MB / 341.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.02596, allocations: 0 / 341.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02596, allocations: 0 / 341.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.02598, allocations: 0 / 341.1 MB, free: 5.086 MB / 302.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.002985/0.02896, allocations: 1.493 MB / 342.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.02901, allocations: 8.031 kB / 342.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.02959, allocations: 164.1 kB / 342.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.03077, allocations: 0.6891 MB / 343.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.03084, allocations: 74 kB / 343.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.031, allocations: 99.95 kB / 343.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.0329, allocations: 1.028 MB / 344.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.03293, allocations: 8 kB / 344.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/0.03303, allocations: 40 kB / 344.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.03305, allocations: 24 kB / 344.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.03483, allocations: 0.8093 MB / 345.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.04005, allocations: 2.904 MB / 348.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.04218, allocations: 0.5898 MB / 349 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.04282, allocations: 296.5 kB / 349.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-05/0.04286, allocations: 12 kB / 349.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.04289, allocations: 38.56 kB / 349.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.134e-06/0.04289, allocations: 4 kB / 349.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004459/0.04735, allocations: 1.673 MB / 351 MB, free: 10.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.04742, allocations: 85.11 kB / 351.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.04864, allocations: 0.903 MB / 352 MB, free: 9.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.04869, allocations: 41.7 kB / 352.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.04913, allocations: 0.5661 MB / 352.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.04932, allocations: 245.9 kB / 352.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.0496, allocations: 162.6 kB / 353 MB, free: 8.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.04981, allocations: 394.7 kB / 353.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/0.05062, allocations: 301.8 kB / 353.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/0.0516, allocations: 0.4913 MB / 354.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.05328, allocations: 0.7834 MB / 355 MB, free: 6.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.05329, allocations: 0 / 355 MB, free: 6.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002147/0.05543, allocations: 0.9631 MB / 356 MB, free: 5.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.05545, allocations: 8 kB / 356 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.05546, allocations: 4 kB / 356 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.05548, allocations: 12 kB / 356 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.05674, allocations: 279.9 kB / 356.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.05676, allocations: 8 kB / 356.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.05747, allocations: 51.95 kB / 356.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/0.05754, allocations: 43.98 kB / 356.4 MB, free: 5.398 MB / 318.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.0004299/0.05797, allocations: 296.6 kB / 356.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.05813, allocations: 91.39 kB / 356.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/0.05896, allocations: 341.4 kB / 357.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.05897, allocations: 8 kB / 357.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.05898, allocations: 4 kB / 357.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.05899, allocations: 3.984 kB / 357.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.06275, allocations: 2 MB / 359.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.06275, allocations: 4 kB / 359.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/0.06371, allocations: 211.6 kB / 359.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.06373, allocations: 12 kB / 359.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.06378, allocations: 32.05 kB / 359.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.06379, allocations: 8 kB / 359.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.06381, allocations: 11.94 kB / 359.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.06563, allocations: 1.014 MB / 360.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.0658, allocations: 103.4 kB / 360.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.06591, allocations: 19.94 kB / 360.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.06658, allocations: 51.95 kB / 360.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.06671, allocations: 71.77 kB / 360.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.06676, allocations: 27.98 kB / 360.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008393/0.0676, allocations: 0.6201 MB / 361.3 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0676, allocations: 0 / 361.3 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000806/0.06841, allocations: 208 kB / 361.5 MB, free: 52 kB / 318.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.0015/0.06991, allocations: 423.3 kB / 361.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.07167, allocations: 0.6868 MB / 362.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.07167, allocations: 1.312 kB / 362.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008297/0.0725, allocations: 348.4 kB / 362.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.0737, allocations: 214.8 kB / 363.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.07721, allocations: 1.888 MB / 365 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.07773, allocations: 444.3 kB / 365.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.07819, allocations: 118.7 kB / 365.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.07842, allocations: 72.48 kB / 365.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.07843, allocations: 0 / 365.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Templates: time 0.02089/0.09931, allocations: 10.61 MB / 376.2 MB, free: 1.469 MB / 334.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.7225593738257885]