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.0009621/0.0009621, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001011/0.001011, allocations: 142.1 kB / 24.97 MB, free: 8.316 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 1.016/1.016, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.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.854e-06/1.854e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.777e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006494/0.006521, allocations: 4.57 MB / 272.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.009644, allocations: 1.772 MB / 274.4 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.009983, allocations: 11.94 kB / 274.4 MB, free: 336 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.01064, allocations: 422.2 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.01132, allocations: 429.4 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.01187, allocations: 327.3 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.01269, allocations: 1.047 MB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.01296, allocations: 191 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.01341, allocations: 0.5849 MB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.01381, allocations: 454.9 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.01391, allocations: 100 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.01406, allocations: 127.9 kB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.01421, allocations: 243.2 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.01442, allocations: 299.2 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.01506, allocations: 0.7085 MB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01506, allocations: 0 / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01506, allocations: 0 / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.01507, allocations: 0 / 279.3 MB, free: 11.43 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.001337/0.01641, allocations: 1.243 MB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.01644, allocations: 12.86 kB / 280.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.0166, allocations: 148.3 kB / 280.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.01718, allocations: 0.5051 MB / 281.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.01723, allocations: 49.69 kB / 281.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.01729, allocations: 60.33 kB / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.01797, allocations: 0.5224 MB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.01799, allocations: 3.938 kB / 281.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.01803, allocations: 24 kB / 281.9 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01804, allocations: 16 kB / 281.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.0185, allocations: 271.6 kB / 282.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.02058, allocations: 2.018 MB / 284.2 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.02102, allocations: 286.8 kB / 284.4 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.02133, allocations: 177 kB / 284.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.02136, allocations: 16.44 kB / 284.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.02139, allocations: 41.89 kB / 284.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.02139, allocations: 0 / 284.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001694/0.02308, allocations: 0.9848 MB / 285.7 MB, free: 4.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.02312, allocations: 67.78 kB / 285.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.02367, allocations: 0.722 MB / 286.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.0237, allocations: 37.7 kB / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.02395, allocations: 463.3 kB / 286.9 MB, free: 3.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.02406, allocations: 218.1 kB / 287.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.0242, allocations: 124.3 kB / 287.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.02435, allocations: 0.5664 MB / 287.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.02455, allocations: 101.9 kB / 287.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.02481, allocations: 227.4 kB / 288.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.02522, allocations: 341.2 kB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02522, allocations: 0 / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006196/0.02584, allocations: 0.4967 MB / 289 MB, free: 1.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.02586, allocations: 4 kB / 289 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02586, allocations: 4 kB / 289 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.02588, allocations: 4 kB / 289 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.02628, allocations: 159.8 kB / 289.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.02629, allocations: 11.88 kB / 289.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.02648, allocations: 36.27 kB / 289.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.02651, allocations: 23.98 kB / 289.2 MB, free: 1.156 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.0001634/0.02668, allocations: 188.5 kB / 289.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.02679, allocations: 99.48 kB / 289.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.02733, allocations: 405.3 kB / 289.9 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.02733, allocations: 8 kB / 289.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.02734, allocations: 3.938 kB / 289.9 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.02734, allocations: 0 / 289.9 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1084/0.1357, allocations: 1.329 MB / 291.2 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1357, allocations: 2.406 kB / 291.2 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.1361, allocations: 118.8 kB / 291.4 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.1361, allocations: 6.188 kB / 291.4 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1361, allocations: 13.12 kB / 291.4 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1361, allocations: 10.98 kB / 291.4 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1361, allocations: 5.719 kB / 291.4 MB, free: 31.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1367, allocations: 0.6214 MB / 292 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1369, allocations: 122.5 kB / 292.1 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.137, allocations: 18.78 kB / 292.2 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.1372, allocations: 35.73 kB / 292.2 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.1373, allocations: 46.83 kB / 292.2 MB, free: 31.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.1373, allocations: 21.73 kB / 292.3 MB, free: 31.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000426/0.1377, allocations: 478.9 kB / 292.7 MB, free: 31.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1377, allocations: 0 / 292.7 MB, free: 31.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.1381, allocations: 146.8 kB / 292.9 MB, free: 31.46 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.0007941/0.1389, allocations: 360.2 kB / 293.2 MB, free: 31.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1395, allocations: 348.3 kB / 293.6 MB, free: 31.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1395, allocations: 1.312 kB / 293.6 MB, free: 31.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1398, allocations: 177.4 kB / 293.7 MB, free: 31.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.1403, allocations: 135.9 kB / 293.9 MB, free: 31.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1421, allocations: 1.357 MB / 295.2 MB, free: 30.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1423, allocations: 168.3 kB / 295.4 MB, free: 30.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.1425, allocations: 93.53 kB / 295.5 MB, free: 30.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1426, allocations: 55.34 kB / 295.5 MB, free: 30.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.482e-06/0.1426, allocations: 0 / 295.5 MB, free: 30.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01141/0.154, allocations: 7.538 MB / 303.1 MB, free: 27.93 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9892100498545915]