Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 145.2 kB / 25.59 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9308/0.9308, allocations: 173.4 MB / 202.2 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.577e-06/3.577e-06, allocations: 4 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.784e-05, allocations: 2.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007086/0.007114, allocations: 6.181 MB / 275.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.01055, allocations: 2.162 MB / 277.5 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.01102, allocations: 27.88 kB / 277.6 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.01165, allocations: 349.7 kB / 277.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.01244, allocations: 0.5002 MB / 278.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.01305, allocations: 455.2 kB / 278.8 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01429, allocations: 1.588 MB / 280.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.01467, allocations: 329.8 kB / 280.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.01539, allocations: 0.8849 MB / 281.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.0159, allocations: 0.5415 MB / 282.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.01604, allocations: 156 kB / 282.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.01624, allocations: 179.9 kB / 282.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01643, allocations: 326.9 kB / 282.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.01674, allocations: 462.9 kB / 283.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.01759, allocations: 1.004 MB / 284.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0176, allocations: 7.938 kB / 284.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0176, allocations: 0 / 284.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01761, allocations: 0 / 284.3 MB, free: 10.61 MB / 266.7 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.001677/0.01929, allocations: 1.546 MB / 285.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.01932, allocations: 12.03 kB / 285.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.01953, allocations: 208.1 kB / 286.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.02019, allocations: 0.6357 MB / 286.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.02025, allocations: 78.38 kB / 286.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.02036, allocations: 100.3 kB / 286.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.02119, allocations: 0.7261 MB / 287.6 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.02121, allocations: 7.938 kB / 287.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.02127, allocations: 39.94 kB / 287.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.0213, allocations: 24 kB / 287.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.02174, allocations: 323.8 kB / 288 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.02465, allocations: 2.656 MB / 290.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.02563, allocations: 473.9 kB / 291.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.02582, allocations: 167.7 kB / 291.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.02585, allocations: 12.38 kB / 291.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.02588, allocations: 49.19 kB / 291.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.204e-06/0.02588, allocations: 0 / 291.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001487/0.02737, allocations: 0.8352 MB / 292.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.02741, allocations: 85.11 kB / 292.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.02794, allocations: 0.7291 MB / 293 MB, free: 1.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.02797, allocations: 33.7 kB / 293 MB, free: 1.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.0283, allocations: 0.6039 MB / 293.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.02843, allocations: 241.9 kB / 293.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.02861, allocations: 172.1 kB / 294 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.02883, allocations: 0.5859 MB / 294.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.02901, allocations: 93.91 kB / 294.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.02927, allocations: 358.8 kB / 295 MB, free: 15.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.0297, allocations: 489.8 kB / 295.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.02971, allocations: 4 kB / 295.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006916/0.0304, allocations: 0.5847 MB / 296.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.03042, allocations: 10.19 kB / 296.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03043, allocations: 4 kB / 296.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.03045, allocations: 12 kB / 296.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.03102, allocations: 239.7 kB / 296.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.03103, allocations: 16.2 kB / 296.4 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.03138, allocations: 55.91 kB / 296.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.03141, allocations: 31.92 kB / 296.5 MB, free: 13.92 MB / 282.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.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.0002206/0.03163, allocations: 200.4 kB / 296.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.03177, allocations: 111.4 kB / 296.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.03207, allocations: 215.7 kB / 297 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.03208, allocations: 8 kB / 297 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.03208, allocations: 0 / 297 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.03209, allocations: 7.984 kB / 297 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.03383, allocations: 1.573 MB / 298.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.03384, allocations: 4 kB / 298.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.03421, allocations: 188.3 kB / 298.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.03422, allocations: 12 kB / 298.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.03425, allocations: 23.98 kB / 298.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.03426, allocations: 8 kB / 298.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.03426, allocations: 11.94 kB / 298.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.03491, allocations: 0.9254 MB / 299.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.035, allocations: 95.39 kB / 299.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.03507, allocations: 20 kB / 299.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.03534, allocations: 39.97 kB / 299.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.03542, allocations: 63.8 kB / 300 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.03545, allocations: 23.98 kB / 300 MB, free: 10.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003886/0.03584, allocations: 434.8 kB / 300.4 MB, free: 9.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.03584, allocations: 0 / 300.4 MB, free: 9.688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.03639, allocations: 215.9 kB / 300.6 MB, free: 9.477 MB / 282.7 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.0007426/0.03713, allocations: 367 kB / 301 MB, free: 9.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.03764, allocations: 396.5 kB / 301.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.03765, allocations: 0 / 301.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.03784, allocations: 188.3 kB / 301.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.0385, allocations: 203.1 kB / 301.7 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.0406, allocations: 1.74 MB / 303.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.04073, allocations: 184.6 kB / 303.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.04103, allocations: 110.4 kB / 303.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/0.04145, allocations: 258.1 kB / 304 MB, free: 5.992 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.04145, allocations: 0 / 304 MB, free: 5.992 MB / 282.7 MB Notification: Performance of Templates: time 0.01465/0.0561, allocations: 11.35 MB / 315.4 MB, free: 10.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.124635979067534]