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.001397/0.001397, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001493/0.001493, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001563/0.001563, allocations: 51.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2139/0.3254, allocations: 6.558 MB / 433.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.3287, allocations: 2.388 MB / 435.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.3291, allocations: 23.03 kB / 435.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.3298, allocations: 362.7 kB / 436.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.3307, allocations: 0.5383 MB / 436.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/0.3316, allocations: 454.2 kB / 437.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.333, allocations: 1.565 MB / 438.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.3336, allocations: 355.7 kB / 439 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007822/0.3343, allocations: 0.6054 MB / 439.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.3351, allocations: 0.6877 MB / 440.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.3353, allocations: 164.9 kB / 440.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.3357, allocations: 200.5 kB / 440.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.3359, allocations: 333.7 kB / 441 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005219/0.3365, allocations: 0.6795 MB / 441.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.3386, allocations: 1.982 MB / 443.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3386, allocations: 1.688 kB / 443.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3386, allocations: 0 / 443.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.3387, allocations: 0 / 443.7 MB, free: 3.582 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.002999/0.3417, allocations: 1.58 MB / 445.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3417, allocations: 8.781 kB / 445.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/0.3423, allocations: 167.8 kB / 445.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3435, allocations: 0.7397 MB / 446.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.3435, allocations: 74.25 kB / 446.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3437, allocations: 97.06 kB / 446.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.3456, allocations: 0.9799 MB / 447.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.3456, allocations: 2.797 kB / 447.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.3457, allocations: 40.41 kB / 447.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3457, allocations: 24.53 kB / 447.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3475, allocations: 0.8205 MB / 448.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/0.3534, allocations: 3.659 MB / 451.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.3556, allocations: 0.595 MB / 452.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.3563, allocations: 299.6 kB / 452.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.3563, allocations: 7.469 kB / 452.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3564, allocations: 45.14 kB / 452.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.455e-06/0.3564, allocations: 1.5 kB / 452.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004758/0.3611, allocations: 1.68 MB / 454.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3612, allocations: 83.98 kB / 454.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.3627, allocations: 1.038 MB / 455.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.3628, allocations: 41.73 kB / 455.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.3632, allocations: 0.5553 MB / 456.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3635, allocations: 246.3 kB / 456.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.3638, allocations: 162.2 kB / 456.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3639, allocations: 349.4 kB / 456.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/0.3648, allocations: 308.1 kB / 457.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009524/0.3657, allocations: 499.4 kB / 457.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3674, allocations: 0.781 MB / 458.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3674, allocations: 2.125 kB / 458.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002262/0.3697, allocations: 0.9707 MB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3697, allocations: 11.31 kB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3697, allocations: 9.844 kB / 459.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3697, allocations: 8.906 kB / 459.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.371, allocations: 275.9 kB / 459.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.371, allocations: 13.77 kB / 459.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008399/0.3719, allocations: 56.55 kB / 459.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.3719, allocations: 39.17 kB / 459.9 MB, free: 10.09 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.0004657/0.3724, allocations: 291.9 kB / 460.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.3726, allocations: 107.6 kB / 460.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.3735, allocations: 348 kB / 460.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3735, allocations: 11.59 kB / 460.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3735, allocations: 2.094 kB / 460.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3735, allocations: 8.812 kB / 460.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.3779, allocations: 2.283 MB / 462.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.3779, allocations: 5.719 kB / 462.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.3788, allocations: 216.8 kB / 463.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.3789, allocations: 13.78 kB / 463.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.3789, allocations: 23.86 kB / 463.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.3789, allocations: 9.5 kB / 463.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.3789, allocations: 11.25 kB / 463.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3808, allocations: 1.036 MB / 464.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.3811, allocations: 194.9 kB / 464.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.3813, allocations: 22.09 kB / 464.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.382, allocations: 52.02 kB / 464.5 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3821, allocations: 71.12 kB / 464.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.3821, allocations: 28.77 kB / 464.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.3832, allocations: 0.7172 MB / 465.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3832, allocations: 0 / 465.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008839/0.3841, allocations: 212 kB / 465.5 MB, free: 6.289 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.001412/0.3855, allocations: 389.4 kB / 465.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3874, allocations: 0.6985 MB / 466.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.3874, allocations: 2.531 kB / 466.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.3882, allocations: 347.9 kB / 466.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.3896, allocations: 229.4 kB / 467.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.3932, allocations: 1.951 MB / 469.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.394, allocations: 1.033 MB / 470.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.3945, allocations: 128.1 kB / 470.3 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.3947, allocations: 77.62 kB / 470.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3947, allocations: 2.906 kB / 470.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of Templates: time 0.02277/0.4175, allocations: 11.27 MB / 481.6 MB, free: 9.156 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: 5.125116813927889]