Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001299/0.001299, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 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.001396/0.001396, allocations: 216 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2748, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007042/0.2818, allocations: 4.725 MB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003975/0.2858, allocations: 2.007 MB / 437.9 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.2864, allocations: 19.88 kB / 437.9 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.2874, allocations: 422.2 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2886, allocations: 481.4 kB / 438.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.2895, allocations: 318.7 kB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.291, allocations: 1.036 MB / 440.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.2914, allocations: 211 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.2922, allocations: 442.7 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.293, allocations: 0.541 MB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2931, allocations: 96 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.2934, allocations: 127.9 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.2936, allocations: 243.2 kB / 441.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.2941, allocations: 469.5 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2957, allocations: 1.3 MB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2957, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2957, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.2957, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00257/0.2983, allocations: 1.162 MB / 444.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2983, allocations: 12.03 kB / 444.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.2985, allocations: 110.6 kB / 444.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.299, allocations: 132.2 kB / 444.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3, allocations: 0.5074 MB / 445.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.3001, allocations: 45.31 kB / 445.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3002, allocations: 63.98 kB / 445.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3014, allocations: 0.6323 MB / 446.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.3014, allocations: 8 kB / 446.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.3014, allocations: 20 kB / 446.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.3015, allocations: 16 kB / 446.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3026, allocations: 0.5243 MB / 446.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.3069, allocations: 2.468 MB / 449.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.3078, allocations: 444.4 kB / 449.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.3085, allocations: 266 kB / 449.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.19e-05/0.3086, allocations: 16.41 kB / 449.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3086, allocations: 39 kB / 450 MB, free: 3.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.514e-06/0.3086, allocations: 4 kB / 450 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00465/0.3133, allocations: 1.456 MB / 451.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3133, allocations: 60.06 kB / 451.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.3147, allocations: 0.9654 MB / 452.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.3147, allocations: 33.7 kB / 452.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3151, allocations: 424.7 kB / 452.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.3152, allocations: 222.1 kB / 453.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3155, allocations: 122.6 kB / 453.2 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3156, allocations: 329.9 kB / 453.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.3162, allocations: 233.9 kB / 453.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.3168, allocations: 323.1 kB / 454.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3179, allocations: 0.5444 MB / 454.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3179, allocations: 3.938 kB / 454.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001565/0.3195, allocations: 0.7191 MB / 455.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3195, allocations: 4 kB / 455.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3195, allocations: 4 kB / 455.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3196, allocations: 4 kB / 455.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.3203, allocations: 168 kB / 455.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.3204, allocations: 8 kB / 455.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.3209, allocations: 35.91 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.3209, allocations: 24 kB / 455.6 MB, free: 13.98 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0004109/0.3213, allocations: 269.6 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3215, allocations: 95.31 kB / 456 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.3229, allocations: 0.6111 MB / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3229, allocations: 4 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3229, allocations: 4 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.3229, allocations: 3.984 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.326, allocations: 1.752 MB / 458.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.326, allocations: 0 / 458.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.3266, allocations: 128.1 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.3266, allocations: 11.98 kB / 458.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.3267, allocations: 16 kB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.3267, allocations: 4 kB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3267, allocations: 7.938 kB / 458.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.328, allocations: 0.7261 MB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.3283, allocations: 139.3 kB / 459.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.3284, allocations: 16 kB / 459.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.3288, allocations: 31.92 kB / 459.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3289, allocations: 52.28 kB / 459.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.329, allocations: 24 kB / 459.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009036/0.3299, allocations: 0.7021 MB / 460.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 460.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000588/0.3305, allocations: 152 kB / 460.3 MB, free: 9.062 MB / 366.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 (63): * Single equations (assignments): 63 * 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.002888/0.3333, allocations: 1.543 MB / 461.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3346, allocations: 0.5113 MB / 462.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3346, allocations: 0.5625 kB / 462.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.3352, allocations: 266.2 kB / 462.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.336, allocations: 150.3 kB / 462.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.3467, allocations: 6.529 MB / 469.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.3474, allocations: 0.967 MB / 470.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.3478, allocations: 97.19 kB / 470.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.3483, allocations: 303.3 kB / 470.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3483, allocations: 4 kB / 470.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.4022, allocations: 16.65 MB / 487.3 MB, free: 14.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.12, allocations: 11.95 kB / 487.3 MB, free: 14 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.022700994999468]