Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001397/0.001397, allocations: 107.6 kB / 21.18 MB, free: 452 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.001455/0.001455, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.463/1.463, 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [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.001893/0.001893, allocations: 51.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005743/0.271, allocations: 4.11 MB / 400.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.274, allocations: 1.673 MB / 402.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004874/0.2745, allocations: 13.31 kB / 402.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.2753, allocations: 416.6 kB / 402.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.2762, allocations: 422 kB / 403 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008007/0.277, allocations: 307.2 kB / 403.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.278, allocations: 1.028 MB / 404.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.2784, allocations: 199.7 kB / 404.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.2789, allocations: 413.5 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.2795, allocations: 492.8 kB / 405.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2797, allocations: 96.38 kB / 405.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2799, allocations: 128.5 kB / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.2801, allocations: 233.2 kB / 405.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.2804, allocations: 365.4 kB / 406.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.2818, allocations: 1.284 MB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2818, allocations: 1.312 kB / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2818, allocations: 0 / 407.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.2818, allocations: 0 / 407.5 MB, free: 2.699 MB / 318.1 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.002102/0.2839, allocations: 1.161 MB / 408.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2839, allocations: 14.36 kB / 408.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.284, allocations: 98.05 kB / 408.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2842, allocations: 106.9 kB / 408.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.285, allocations: 0.495 MB / 409.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.2851, allocations: 50.34 kB / 409.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.2851, allocations: 63 kB / 409.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2863, allocations: 0.6746 MB / 410.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.2863, allocations: 8.984 kB / 410.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.2864, allocations: 24.41 kB / 410.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2864, allocations: 15.59 kB / 410.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2875, allocations: 0.5552 MB / 410.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.2914, allocations: 2.096 MB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2925, allocations: 449.1 kB / 413.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.2932, allocations: 273.8 kB / 413.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.2932, allocations: 17.8 kB / 413.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.2933, allocations: 38.62 kB / 413.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.856e-06/0.2933, allocations: 4 kB / 413.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004869/0.2982, allocations: 1.501 MB / 415.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2982, allocations: 57.84 kB / 415.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.2997, allocations: 0.9494 MB / 416.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.2998, allocations: 36.67 kB / 416.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.3002, allocations: 408.4 kB / 416.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.3004, allocations: 219.6 kB / 416.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3007, allocations: 128 kB / 416.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3008, allocations: 333 kB / 417.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.3015, allocations: 240.3 kB / 417.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/0.3023, allocations: 349.1 kB / 417.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.3036, allocations: 0.5611 MB / 418.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3036, allocations: 1.375 kB / 418.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001854/0.3055, allocations: 0.7301 MB / 419.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3055, allocations: 10.59 kB / 419.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3055, allocations: 1.438 kB / 419.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3055, allocations: 5.688 kB / 419.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.3063, allocations: 178.5 kB / 419.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3063, allocations: 5.25 kB / 419.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.307, allocations: 39.52 kB / 419.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.307, allocations: 25.25 kB / 419.3 MB, free: 10.99 MB / 334.1 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.0004902/0.3075, allocations: 266.2 kB / 419.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3077, allocations: 96.92 kB / 419.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.3094, allocations: 0.6324 MB / 420.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3094, allocations: 9.875 kB / 420.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3094, allocations: 5.5 kB / 420.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3094, allocations: 3.984 kB / 420.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.3127, allocations: 1.555 MB / 421.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/0.3127, allocations: 3.938 kB / 421.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.3133, allocations: 140.1 kB / 422 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.3133, allocations: 4 kB / 422 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.3133, allocations: 15.94 kB / 422 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.3133, allocations: 7.984 kB / 422 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3133, allocations: 4 kB / 422 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.3148, allocations: 0.7495 MB / 422.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.3152, allocations: 135.3 kB / 422.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.3153, allocations: 12 kB / 422.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.3157, allocations: 39.95 kB / 423 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3158, allocations: 44.3 kB / 423 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.3159, allocations: 23.94 kB / 423 MB, free: 7.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.3169, allocations: 0.6904 MB / 423.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3169, allocations: 0 / 423.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006328/0.3175, allocations: 155.9 kB / 423.9 MB, free: 7.109 MB / 334.1 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.003168/0.3207, allocations: 1.569 MB / 425.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3222, allocations: 0.5531 MB / 426 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3222, allocations: 0.5625 kB / 426 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.3228, allocations: 278.2 kB / 426.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.3238, allocations: 127.5 kB / 426.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.3347, allocations: 6.517 MB / 432.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3352, allocations: 367.1 kB / 433.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000469/0.3357, allocations: 93.03 kB / 433.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.3361, allocations: 287.3 kB / 433.7 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3361, allocations: 0 / 433.7 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/0.3889, allocations: 16.68 MB / 450.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.78, allocations: 0 / 450.3 MB, free: 12.16 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.00159936 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable feedX.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.468944304157048]