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.001666/0.001666, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001948/0.001948, allocations: 188.8 kB / 23.71 MB, free: 4.188 MB / 14.72 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.428/1.428, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 43.94 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2433, allocations: 52.2 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00653/0.2499, allocations: 4.174 MB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.2531, allocations: 1.714 MB / 428.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.2534, allocations: 15.94 kB / 428.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.2542, allocations: 418.2 kB / 428.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.255, allocations: 421.7 kB / 429.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.2557, allocations: 323.4 kB / 429.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2568, allocations: 1.024 MB / 430.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.2571, allocations: 191.1 kB / 430.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.2576, allocations: 422.7 kB / 431.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.2582, allocations: 490.1 kB / 431.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.2584, allocations: 96 kB / 431.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.2586, allocations: 124 kB / 431.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2588, allocations: 235.2 kB / 432.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.2592, allocations: 366.2 kB / 432.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2605, allocations: 1.288 MB / 433.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2605, allocations: 0 / 433.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2605, allocations: 4 kB / 433.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.2605, allocations: 0 / 433.8 MB, free: 3.105 MB / 334.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.002226/0.2627, allocations: 1.154 MB / 435 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2628, allocations: 8.031 kB / 435 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2629, allocations: 102.7 kB / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.2631, allocations: 112.2 kB / 435.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.264, allocations: 0.4953 MB / 435.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.2641, allocations: 45.69 kB / 435.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2642, allocations: 67.89 kB / 435.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.2655, allocations: 0.6692 MB / 436.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2655, allocations: 0 / 436.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.2655, allocations: 28 kB / 436.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.2656, allocations: 12 kB / 436.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2669, allocations: 0.5516 MB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.2706, allocations: 2.105 MB / 439.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.2716, allocations: 451.5 kB / 439.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/0.2723, allocations: 285.2 kB / 439.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.2723, allocations: 20.34 kB / 439.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2724, allocations: 35 kB / 439.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.2724, allocations: 4 kB / 439.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004658/0.277, allocations: 1.501 MB / 441.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2771, allocations: 55.91 kB / 441.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2783, allocations: 0.9497 MB / 442.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.2783, allocations: 33.7 kB / 442.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.2787, allocations: 408.7 kB / 442.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.2789, allocations: 218.1 kB / 443.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.2791, allocations: 122.6 kB / 443.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2792, allocations: 326 kB / 443.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.2799, allocations: 249.9 kB / 443.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.2806, allocations: 343 kB / 444.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2818, allocations: 0.5711 MB / 444.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2818, allocations: 0 / 444.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001644/0.2835, allocations: 0.7388 MB / 445.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2835, allocations: 4 kB / 445.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2835, allocations: 4 kB / 445.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2835, allocations: 4 kB / 445.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.2843, allocations: 175.8 kB / 445.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.2843, allocations: 12.06 kB / 445.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2848, allocations: 31.97 kB / 445.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.2849, allocations: 31.98 kB / 445.7 MB, free: 6.945 MB / 350.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.0003567/0.2852, allocations: 269.5 kB / 445.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2854, allocations: 83.42 kB / 446 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.2869, allocations: 0.6422 MB / 446.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2869, allocations: 4 kB / 446.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2869, allocations: 0 / 446.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2869, allocations: 0 / 446.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.2898, allocations: 1.561 MB / 448.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2899, allocations: 4 kB / 448.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.2904, allocations: 135.8 kB / 448.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.2904, allocations: 4 kB / 448.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.2905, allocations: 19.94 kB / 448.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2905, allocations: 4.312 kB / 448.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.2905, allocations: 11.94 kB / 448.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2919, allocations: 0.7494 MB / 449.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.2921, allocations: 131.4 kB / 449.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.2922, allocations: 16 kB / 449.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.2927, allocations: 39.95 kB / 449.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.2928, allocations: 40.31 kB / 449.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.2928, allocations: 19.98 kB / 449.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008533/0.2936, allocations: 0.6865 MB / 450.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2936, allocations: 0 / 450.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005507/0.2942, allocations: 151.9 kB / 450.2 MB, free: 2.234 MB / 350.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.003021/0.2972, allocations: 1.586 MB / 451.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.2986, allocations: 0.5532 MB / 452.4 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2986, allocations: 0 / 452.4 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.2992, allocations: 275.4 kB / 452.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.3, allocations: 126.4 kB / 452.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.3102, allocations: 6.502 MB / 459.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3106, allocations: 371.1 kB / 459.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003928/0.311, allocations: 93.05 kB / 459.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.3114, allocations: 291.3 kB / 460 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3114, allocations: 7.938 kB / 460 MB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/0.3587, allocations: 16.7 MB / 476.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.11, allocations: 10.36 kB / 476.7 MB, free: 7.738 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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.00159936 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.696463379077613]