Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002028/0.002028, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002333/0.002333, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 55.86 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 49.15 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007498/0.3233, allocations: 5.633 MB / 402.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.3277, allocations: 2.055 MB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3288, allocations: 23.41 kB / 404.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3298, allocations: 356.5 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.3313, allocations: 493.5 kB / 405.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3325, allocations: 438.8 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3345, allocations: 1.537 MB / 407.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.3351, allocations: 333.2 kB / 407.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.3359, allocations: 0.5898 MB / 408.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.3366, allocations: 0.5958 MB / 408.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.3369, allocations: 159.9 kB / 409 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.3373, allocations: 195.6 kB / 409.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.3376, allocations: 326.9 kB / 409.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.3382, allocations: 0.5381 MB / 410.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.3404, allocations: 1.949 MB / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3404, allocations: 0.8125 kB / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3404, allocations: 0 / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.3404, allocations: 0 / 412 MB, free: 15.98 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003506/0.3439, allocations: 1.509 MB / 413.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3439, allocations: 8.812 kB / 413.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.3442, allocations: 135.8 kB / 413.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.3456, allocations: 0.6526 MB / 414.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.3457, allocations: 74.88 kB / 414.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.3459, allocations: 109.8 kB / 414.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.3481, allocations: 1.056 MB / 415.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.3481, allocations: 1.469 kB / 415.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-05/0.3482, allocations: 36.97 kB / 415.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3482, allocations: 22.22 kB / 415.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3504, allocations: 0.8823 MB / 416.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.3564, allocations: 2.878 MB / 419.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.3595, allocations: 0.861 MB / 420.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.3604, allocations: 351.8 kB / 420.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.3604, allocations: 11.55 kB / 420.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.3605, allocations: 42.94 kB / 420.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.855e-06/0.3605, allocations: 0 / 420.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005411/0.3659, allocations: 1.801 MB / 422.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.366, allocations: 87.3 kB / 422.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.3674, allocations: 0.8494 MB / 423.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.3675, allocations: 41.69 kB / 423.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.368, allocations: 0.5505 MB / 424 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.3683, allocations: 238 kB / 424.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.3686, allocations: 154.6 kB / 424.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.3688, allocations: 390.8 kB / 424.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/0.3698, allocations: 345.8 kB / 425.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.371, allocations: 0.5184 MB / 425.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.3729, allocations: 0.8358 MB / 426.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3729, allocations: 0 / 426.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002565/0.3755, allocations: 1.004 MB / 427.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3755, allocations: 8 kB / 427.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3755, allocations: 7.938 kB / 427.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.3756, allocations: 8 kB / 427.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3769, allocations: 291.7 kB / 427.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.3769, allocations: 12 kB / 427.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.3778, allocations: 71.86 kB / 427.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.3778, allocations: 36 kB / 427.9 MB, free: 3.695 MB / 334.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 (108): * Single equations (assignments): 108 * 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.0005317/0.3784, allocations: 285.6 kB / 428.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.3785, allocations: 91.39 kB / 428.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3796, allocations: 376.8 kB / 428.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3796, allocations: 8 kB / 428.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.3796, allocations: 7.922 kB / 428.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3796, allocations: 0 / 428.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3838, allocations: 2.003 MB / 430.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.3838, allocations: 8 kB / 430.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009185/0.3847, allocations: 208.3 kB / 430.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.3847, allocations: 8 kB / 430.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.3848, allocations: 23.98 kB / 430.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.3848, allocations: 11.94 kB / 430.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.3848, allocations: 11.94 kB / 430.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.3867, allocations: 1.033 MB / 431.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.3869, allocations: 99.41 kB / 432 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.387, allocations: 28 kB / 432 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.3877, allocations: 47.94 kB / 432.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3878, allocations: 67.73 kB / 432.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.3879, allocations: 31.98 kB / 432.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008634/0.3887, allocations: 0.5771 MB / 432.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3887, allocations: 0 / 432.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000962/0.3897, allocations: 207.9 kB / 433 MB, free: 14.34 MB / 350.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.001584/0.3913, allocations: 400.5 kB / 433.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3932, allocations: 0.7299 MB / 434.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.3932, allocations: 4 kB / 434.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.3941, allocations: 361.7 kB / 434.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.3954, allocations: 184.1 kB / 434.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.3994, allocations: 1.913 MB / 436.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.4, allocations: 434.8 kB / 437 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005719/0.4005, allocations: 102.4 kB / 437.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.4007, allocations: 67.41 kB / 437.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4007, allocations: 0 / 437.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.02314/0.4239, allocations: 11.46 MB / 448.6 MB, free: 14.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.166132399812341]