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.001333/0.001333, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001379/0.001379, allocations: 210.9 kB / 23.73 MB, free: 4.523 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001558/0.001558, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3092, allocations: 53.36 MB / 431.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006962/0.3162, allocations: 4.269 MB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.3201, allocations: 1.894 MB / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.3207, allocations: 11.94 kB / 437.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008724/0.3215, allocations: 422.2 kB / 437.7 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3226, allocations: 469.5 kB / 438.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.3233, allocations: 326.4 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3245, allocations: 1.048 MB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.3249, allocations: 207 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.3255, allocations: 434.7 kB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.3262, allocations: 0.5371 MB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3263, allocations: 100 kB / 440.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.3266, allocations: 128 kB / 440.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.3268, allocations: 235.2 kB / 441.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.3272, allocations: 374.1 kB / 441.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3285, allocations: 1.315 MB / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3285, allocations: 4 kB / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3285, allocations: 0 / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3285, allocations: 0 / 442.8 MB, free: 11 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.00212/0.3307, allocations: 1.158 MB / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3307, allocations: 12.03 kB / 444 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.3308, allocations: 106.7 kB / 444.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.3313, allocations: 132.2 kB / 444.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.3323, allocations: 0.5151 MB / 444.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.3323, allocations: 49.31 kB / 444.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3324, allocations: 56 kB / 444.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3336, allocations: 0.6652 MB / 445.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.3336, allocations: 0 / 445.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.3337, allocations: 20 kB / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3337, allocations: 16 kB / 445.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3348, allocations: 0.5204 MB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.3384, allocations: 2.105 MB / 448.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/0.3393, allocations: 448.8 kB / 448.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.34, allocations: 262 kB / 448.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.34, allocations: 12.44 kB / 448.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.3401, allocations: 39 kB / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.004e-06/0.3401, allocations: 0 / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004329/0.3444, allocations: 1.464 MB / 450.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3444, allocations: 60.06 kB / 450.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.3457, allocations: 0.9731 MB / 451.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.3457, allocations: 37.7 kB / 451.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.3461, allocations: 412.7 kB / 451.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.3464, allocations: 226.1 kB / 452 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.3467, allocations: 122.6 kB / 452.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3469, allocations: 333.9 kB / 452.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/0.3477, allocations: 229.9 kB / 452.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.3487, allocations: 331 kB / 453 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3499, allocations: 0.5405 MB / 453.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3499, allocations: 3.938 kB / 453.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001433/0.3513, allocations: 0.7113 MB / 454.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3513, allocations: 4 kB / 454.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3513, allocations: 4 kB / 454.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3514, allocations: 4 kB / 454.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.3521, allocations: 172 kB / 454.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3521, allocations: 8 kB / 454.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.3526, allocations: 31.97 kB / 454.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.3526, allocations: 27.98 kB / 454.5 MB, free: 14.94 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.0003608/0.353, allocations: 269.6 kB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3531, allocations: 87.44 kB / 454.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3544, allocations: 0.6149 MB / 455.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3544, allocations: 8 kB / 455.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3544, allocations: 0 / 455.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3544, allocations: 3.984 kB / 455.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.3573, allocations: 1.539 MB / 457 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3573, allocations: 8.031 kB / 457.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3578, allocations: 123.8 kB / 457.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3578, allocations: 4 kB / 457.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.3579, allocations: 16 kB / 457.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3579, allocations: 4 kB / 457.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.3579, allocations: 7.984 kB / 457.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3591, allocations: 0.7338 MB / 457.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.3594, allocations: 139.3 kB / 458.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.3595, allocations: 12 kB / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3599, allocations: 31.97 kB / 458.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.36, allocations: 52.23 kB / 458.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.36, allocations: 20 kB / 458.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008638/0.3609, allocations: 0.706 MB / 458.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 458.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.3614, allocations: 155.9 kB / 459 MB, free: 10.27 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.002908/0.3643, allocations: 1.56 MB / 460.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.3655, allocations: 0.5231 MB / 461.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3656, allocations: 4 kB / 461.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.3661, allocations: 259.3 kB / 461.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.3669, allocations: 153 kB / 461.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/0.3767, allocations: 6.517 MB / 468.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3771, allocations: 375.9 kB / 468.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.3774, allocations: 93.19 kB / 468.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.3779, allocations: 307.3 kB / 468.8 MB, free: 336 kB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3779, allocations: 0 / 468.8 MB, free: 336 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.4291, allocations: 17.45 MB / 486.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 4.062 kB / 486.3 MB, free: 15.05 MB / 398.1 MB " [Timeout remaining time 648] (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: 16.050535021990072]