Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001419/0.001419, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001475/0.001475, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.481/1.481, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.269e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006709/0.006732, allocations: 4.208 MB / 271.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.01001, allocations: 1.71 MB / 273.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.01028, allocations: 19.94 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.01109, allocations: 414.1 kB / 273.7 MB, free: 344 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.01196, allocations: 429.4 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.01265, allocations: 323.3 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.01415, allocations: 1.047 MB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.01453, allocations: 195 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.0153, allocations: 0.581 MB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.01594, allocations: 446.9 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.01608, allocations: 96 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.0163, allocations: 124 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.01657, allocations: 239.2 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.01693, allocations: 303.2 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.01849, allocations: 1.297 MB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0185, allocations: 0 / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0185, allocations: 0 / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.01851, allocations: 0 / 278.7 MB, free: 11.29 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002467/0.02097, allocations: 1.146 MB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.02102, allocations: 12.92 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.02129, allocations: 148.3 kB / 280 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.02233, allocations: 0.5141 MB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.02239, allocations: 45.69 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.02251, allocations: 64.33 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.02395, allocations: 0.6697 MB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.02398, allocations: 7.938 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.02405, allocations: 24 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.02407, allocations: 20 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.02547, allocations: 0.5477 MB / 281.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.02959, allocations: 2.021 MB / 283.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.03064, allocations: 446.5 kB / 284.3 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.03143, allocations: 297.1 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.03148, allocations: 12.44 kB / 284.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.03152, allocations: 39.06 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.275e-06/0.03152, allocations: 0 / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004989/0.03651, allocations: 1.504 MB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.03657, allocations: 67.83 kB / 286.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.03777, allocations: 0.8868 MB / 287.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.03782, allocations: 37.7 kB / 287.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.03819, allocations: 412.5 kB / 287.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.0384, allocations: 218.1 kB / 287.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.03862, allocations: 114.6 kB / 287.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.03886, allocations: 386.8 kB / 288.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.03954, allocations: 241.9 kB / 288.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.04031, allocations: 351 kB / 288.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.04166, allocations: 0.5633 MB / 289.4 MB, free: 272 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.04166, allocations: 0 / 289.4 MB, free: 272 kB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.1315/0.1731, allocations: 0.7529 MB / 290.2 MB, free: 32.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.1731, allocations: 7.047 kB / 290.2 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1732, allocations: 2.188 kB / 290.2 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.1732, allocations: 5.344 kB / 290.2 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.174, allocations: 174.3 kB / 290.4 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.1741, allocations: 10.88 kB / 290.4 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.1747, allocations: 39.67 kB / 290.4 MB, free: 32.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.1747, allocations: 26.95 kB / 290.4 MB, free: 32.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003491/0.1751, allocations: 265.6 kB / 290.7 MB, free: 32.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1752, allocations: 96.62 kB / 290.8 MB, free: 32.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.1767, allocations: 0.6304 MB / 291.4 MB, free: 32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1768, allocations: 7.203 kB / 291.4 MB, free: 32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1768, allocations: 3.75 kB / 291.4 MB, free: 32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1768, allocations: 2.859 kB / 291.4 MB, free: 32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.1797, allocations: 1.488 MB / 292.9 MB, free: 31.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1798, allocations: 6.047 kB / 292.9 MB, free: 31.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.1804, allocations: 135.7 kB / 293.1 MB, free: 31.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.1804, allocations: 4.75 kB / 293.1 MB, free: 31.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.1804, allocations: 16.16 kB / 293.1 MB, free: 31.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.1805, allocations: 4.969 kB / 293.1 MB, free: 31.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1805, allocations: 4.031 kB / 293.1 MB, free: 31.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1819, allocations: 0.7584 MB / 293.8 MB, free: 30.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.1822, allocations: 122.2 kB / 294 MB, free: 30.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1823, allocations: 20.81 kB / 294 MB, free: 30.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.1828, allocations: 37.12 kB / 294 MB, free: 30.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1829, allocations: 48.52 kB / 294.1 MB, free: 30.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.1829, allocations: 23.67 kB / 294.1 MB, free: 30.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008864/0.1838, allocations: 0.641 MB / 294.7 MB, free: 30.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1838, allocations: 0 / 294.7 MB, free: 30.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006786/0.1845, allocations: 150.7 kB / 294.9 MB, free: 30.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.001724/0.1862, allocations: 408.9 kB / 295.3 MB, free: 30.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1877, allocations: 0.5539 MB / 295.8 MB, free: 30.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1877, allocations: 1.344 kB / 295.8 MB, free: 30.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.1883, allocations: 275.5 kB / 296.1 MB, free: 30.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.1891, allocations: 129.5 kB / 296.2 MB, free: 29.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1917, allocations: 1.565 MB / 297.8 MB, free: 29.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1922, allocations: 365.2 kB / 298.2 MB, free: 29.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004069/0.1926, allocations: 92.31 kB / 298.2 MB, free: 29.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.1928, allocations: 56.12 kB / 298.3 MB, free: 29.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1928, allocations: 0 / 298.3 MB, free: 29.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01335/0.2062, allocations: 7.498 MB / 305.8 MB, free: 24.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.568642386002466]