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.001395/0.001395, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001365/0.001365, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.9752/0.9752, allocations: 173.3 MB / 201.1 MB, free: 9.355 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.383e-06/1.383e-06, allocations: 3.938 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.313e-05, allocations: 6.312 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004654/0.004677, allocations: 4.582 MB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.007172, allocations: 1.78 MB / 274.4 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.007513, allocations: 15.94 kB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.008164, allocations: 410.3 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.008827, allocations: 437.3 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.009341, allocations: 327.3 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009011/0.01024, allocations: 1.051 MB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.01052, allocations: 191.1 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.01109, allocations: 0.5849 MB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.01152, allocations: 454.9 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-05/0.01161, allocations: 96 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.01178, allocations: 123.9 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.01193, allocations: 243.2 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.01214, allocations: 303.2 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006998/0.01284, allocations: 0.7124 MB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01284, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01284, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.01286, allocations: 0 / 279.2 MB, free: 11.15 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.001365/0.01422, allocations: 1.242 MB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01426, allocations: 8.922 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.01441, allocations: 148.3 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.01497, allocations: 0.509 MB / 281.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.01501, allocations: 45.69 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.01508, allocations: 64.33 kB / 281.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.01574, allocations: 0.5185 MB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.01576, allocations: 3.938 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.0158, allocations: 24 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.01581, allocations: 16 kB / 281.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.01624, allocations: 271.6 kB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.01836, allocations: 2.018 MB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.01879, allocations: 286.3 kB / 284.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.01909, allocations: 176 kB / 284.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.01913, allocations: 16.44 kB / 284.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.01916, allocations: 49.88 kB / 284.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.01916, allocations: 0 / 284.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.00165/0.02081, allocations: 0.977 MB / 285.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.02084, allocations: 63.78 kB / 285.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.02138, allocations: 0.722 MB / 286.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.02141, allocations: 33.7 kB / 286.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.02163, allocations: 475.2 kB / 286.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.02174, allocations: 214.1 kB / 287.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.02187, allocations: 128.3 kB / 287.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02204, allocations: 0.5664 MB / 287.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.02221, allocations: 97.94 kB / 287.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.02244, allocations: 231.4 kB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.02284, allocations: 341.2 kB / 288.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02284, allocations: 0 / 288.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005854/0.02343, allocations: 0.4928 MB / 288.9 MB, free: 1.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.02344, allocations: 6.969 kB / 288.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02345, allocations: 4.281 kB / 288.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.02347, allocations: 8 kB / 288.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.02385, allocations: 159.8 kB / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.02386, allocations: 11.88 kB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02406, allocations: 35.97 kB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.02408, allocations: 20 kB / 289.2 MB, free: 0.8828 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.0001519/0.02424, allocations: 188.5 kB / 289.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.02433, allocations: 99.48 kB / 289.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.02484, allocations: 409.3 kB / 289.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.02485, allocations: 8 kB / 289.9 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.02485, allocations: 3.938 kB / 289.9 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02486, allocations: 0 / 289.9 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1159/0.1407, allocations: 1.32 MB / 291.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1407, allocations: 4.719 kB / 291.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.141, allocations: 123.6 kB / 291.3 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.1411, allocations: 6.031 kB / 291.3 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1411, allocations: 18.03 kB / 291.3 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.1411, allocations: 11.59 kB / 291.3 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1411, allocations: 4.062 kB / 291.3 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.1417, allocations: 0.6194 MB / 292 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1419, allocations: 123.8 kB / 292.1 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.142, allocations: 18.83 kB / 292.1 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1422, allocations: 28.42 kB / 292.1 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.1423, allocations: 47.27 kB / 292.2 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.1423, allocations: 21.38 kB / 292.2 MB, free: 27.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004432/0.1427, allocations: 477.8 kB / 292.7 MB, free: 27.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1427, allocations: 1.344 kB / 292.7 MB, free: 27.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.1432, allocations: 150.6 kB / 292.8 MB, free: 27.82 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.0008267/0.144, allocations: 359.4 kB / 293.2 MB, free: 27.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1446, allocations: 347 kB / 293.5 MB, free: 27.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1446, allocations: 0 / 293.5 MB, free: 27.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.1449, allocations: 179.2 kB / 293.7 MB, free: 27.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.1454, allocations: 135.5 kB / 293.8 MB, free: 27.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1473, allocations: 1.359 MB / 295.2 MB, free: 26.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.1475, allocations: 167.7 kB / 295.3 MB, free: 26.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.1477, allocations: 92.23 kB / 295.4 MB, free: 26.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1479, allocations: 55.16 kB / 295.5 MB, free: 26.88 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1479, allocations: 0 / 295.5 MB, free: 26.88 MB / 266.7 MB Notification: Performance of Templates: time 0.0113/0.1592, allocations: 7.527 MB / 303 MB, free: 24.83 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: 3.0933713582344353]