Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001351/0.001351, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001457/0.001457, allocations: 213.2 kB / 23.73 MB, free: 4.516 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 48.06 kB / 377.7 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2491, allocations: 53.36 MB / 431.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008369/0.2575, allocations: 5.823 MB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.262, allocations: 2.291 MB / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.2628, allocations: 23.88 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.2636, allocations: 357.7 kB / 439.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.2649, allocations: 0.5356 MB / 440.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.266, allocations: 455.3 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.268, allocations: 1.561 MB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.2687, allocations: 358 kB / 442.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.2697, allocations: 0.6112 MB / 443.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.2706, allocations: 0.6809 MB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.2708, allocations: 160 kB / 443.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.2711, allocations: 204 kB / 444.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.2714, allocations: 330.9 kB / 444.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.272, allocations: 0.5483 MB / 445 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.2742, allocations: 2.004 MB / 447 MB, free: 6.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2742, allocations: 0 / 447 MB, free: 6.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2742, allocations: 0 / 447 MB, free: 6.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.2742, allocations: 0 / 447 MB, free: 6.977 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003087/0.2773, allocations: 1.493 MB / 448.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2774, allocations: 8.031 kB / 448.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.2776, allocations: 148.3 kB / 448.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.2781, allocations: 172 kB / 448.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.2795, allocations: 0.685 MB / 449.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.2796, allocations: 77.94 kB / 449.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2797, allocations: 100 kB / 449.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.2816, allocations: 1.028 MB / 450.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.2816, allocations: 4 kB / 450.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.2817, allocations: 40 kB / 450.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2817, allocations: 24 kB / 450.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.2835, allocations: 0.8171 MB / 451.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/0.2889, allocations: 3.049 MB / 454.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.291, allocations: 0.5867 MB / 455.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.2916, allocations: 305.2 kB / 455.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.2917, allocations: 8.375 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2917, allocations: 38.5 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.334e-06/0.2917, allocations: 4 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004352/0.2961, allocations: 1.682 MB / 457.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.2961, allocations: 89.09 kB / 457.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.2976, allocations: 1.061 MB / 458.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.2977, allocations: 33.7 kB / 458.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.2982, allocations: 0.5623 MB / 459 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.2984, allocations: 238 kB / 459.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.2987, allocations: 166.5 kB / 459.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2988, allocations: 341.9 kB / 459.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/0.2996, allocations: 317.8 kB / 460 MB, free: 9.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.3005, allocations: 491.2 kB / 460.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.3021, allocations: 0.7786 MB / 461.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3022, allocations: 8 kB / 461.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002153/0.3043, allocations: 0.9673 MB / 462.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3043, allocations: 8 kB / 462.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3043, allocations: 4 kB / 462.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3044, allocations: 12 kB / 462.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3056, allocations: 275.5 kB / 462.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.3056, allocations: 12.03 kB / 462.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.3064, allocations: 55.89 kB / 462.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.3064, allocations: 39.98 kB / 462.6 MB, free: 6.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0004728/0.3069, allocations: 285.5 kB / 462.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.3071, allocations: 111.3 kB / 463 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.308, allocations: 358.4 kB / 463.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.308, allocations: 8 kB / 463.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.308, allocations: 3.984 kB / 463.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.308, allocations: 7.875 kB / 463.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.312, allocations: 2.105 MB / 465.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.312, allocations: 4 kB / 465.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.3129, allocations: 208.4 kB / 465.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.3129, allocations: 12 kB / 465.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.313, allocations: 23.98 kB / 465.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.313, allocations: 8 kB / 465.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.313, allocations: 11.94 kB / 465.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3148, allocations: 1.037 MB / 466.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.315, allocations: 123.3 kB / 466.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3152, allocations: 24 kB / 466.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.3158, allocations: 47.89 kB / 467 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3159, allocations: 71.72 kB / 467.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.3159, allocations: 31.98 kB / 467.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009805/0.3169, allocations: 0.7151 MB / 467.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3169, allocations: 0 / 467.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.3177, allocations: 211.9 kB / 468 MB, free: 1.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.003299/0.321, allocations: 1.889 MB / 469.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3227, allocations: 0.6987 MB / 470.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3227, allocations: 0 / 470.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.3235, allocations: 353.7 kB / 471 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.3247, allocations: 219.2 kB / 471.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.3382, allocations: 8.449 MB / 479.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3387, allocations: 451.8 kB / 480.1 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005499/0.3392, allocations: 131.5 kB / 480.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.3398, allocations: 399.3 kB / 480.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3398, allocations: 0 / 480.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.3972, allocations: 22.68 MB / 0.4915 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.15, allocations: 10.72 kB / 0.4915 GB, free: 13.78 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.618103368004085]