Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 254 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 53.39 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007326/0.1357, allocations: 4.687 MB / 431 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.1401, allocations: 1.998 MB / 433 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.1407, allocations: 11.94 kB / 433.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.1417, allocations: 426.2 kB / 433.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1428, allocations: 469.5 kB / 433.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.1436, allocations: 319.5 kB / 434.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1451, allocations: 1.049 MB / 435.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.1455, allocations: 210.6 kB / 435.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.1461, allocations: 434.7 kB / 435.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.1468, allocations: 0.5255 MB / 436.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.1469, allocations: 100 kB / 436.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.1471, allocations: 128 kB / 436.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1474, allocations: 247.1 kB / 436.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.1479, allocations: 465.6 kB / 437.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1494, allocations: 1.311 MB / 438.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1494, allocations: 0 / 438.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1494, allocations: 4 kB / 438.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1494, allocations: 0 / 438.7 MB, free: 8.262 MB / 366.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.002449/0.1519, allocations: 1.237 MB / 439.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1519, allocations: 8.031 kB / 439.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1521, allocations: 102.7 kB / 440 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.1526, allocations: 128.2 kB / 440.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.1536, allocations: 0.576 MB / 440.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.1536, allocations: 49.44 kB / 440.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1538, allocations: 60 kB / 440.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.155, allocations: 0.6323 MB / 441.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.155, allocations: 3.938 kB / 441.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.1551, allocations: 24 kB / 441.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1551, allocations: 16 kB / 441.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1563, allocations: 0.5283 MB / 442 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.1604, allocations: 2.541 MB / 444.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.1614, allocations: 448.3 kB / 445 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.1621, allocations: 270 kB / 445.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.1622, allocations: 8.438 kB / 445.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1622, allocations: 35 kB / 445.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.1622, allocations: 0 / 445.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.2215/0.3837, allocations: 1.458 MB / 446.8 MB, free: 23.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3838, allocations: 58.38 kB / 446.8 MB, free: 23.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.3852, allocations: 0.965 MB / 447.8 MB, free: 23.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.3853, allocations: 35.14 kB / 447.8 MB, free: 23.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.3855, allocations: 417.3 kB / 448.2 MB, free: 23.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3857, allocations: 226.5 kB / 448.5 MB, free: 23.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.3859, allocations: 117.8 kB / 448.6 MB, free: 23.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.3859, allocations: 335.5 kB / 448.9 MB, free: 23.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.3864, allocations: 225.2 kB / 449.1 MB, free: 23.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.387, allocations: 329.5 kB / 449.5 MB, free: 23.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3881, allocations: 0.5505 MB / 450 MB, free: 22.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3881, allocations: 4.906 kB / 450 MB, free: 22.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001453/0.3895, allocations: 0.7122 MB / 450.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3895, allocations: 5.438 kB / 450.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3895, allocations: 2.625 kB / 450.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3896, allocations: 6.125 kB / 450.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.3903, allocations: 173.6 kB / 450.9 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3903, allocations: 5.625 kB / 450.9 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.3908, allocations: 31.14 kB / 450.9 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.3909, allocations: 25.81 kB / 451 MB, free: 22.58 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.0003232/0.3912, allocations: 266.8 kB / 451.2 MB, free: 22.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3913, allocations: 94.19 kB / 451.3 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.3926, allocations: 0.6065 MB / 451.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3926, allocations: 6.031 kB / 451.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3926, allocations: 3.281 kB / 451.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3926, allocations: 4.359 kB / 451.9 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.3954, allocations: 1.794 MB / 453.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3954, allocations: 3.375 kB / 453.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.396, allocations: 128.3 kB / 453.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.396, allocations: 4.531 kB / 453.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.396, allocations: 16.59 kB / 453.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.396, allocations: 7.266 kB / 453.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.396, allocations: 10.25 kB / 453.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3972, allocations: 0.7235 MB / 454.6 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.3975, allocations: 210.1 kB / 454.8 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.3975, allocations: 17.34 kB / 454.8 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.398, allocations: 34.66 kB / 454.9 MB, free: 20.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3981, allocations: 40.22 kB / 454.9 MB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.3981, allocations: 22.73 kB / 454.9 MB, free: 20.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009267/0.399, allocations: 0.7069 MB / 455.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.399, allocations: 0 / 455.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.3999, allocations: 152.8 kB / 455.8 MB, free: 20.09 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.002631/0.4025, allocations: 1.538 MB / 457.3 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.4038, allocations: 0.5213 MB / 457.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4038, allocations: 1.062 kB / 457.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.4043, allocations: 258.1 kB / 458.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.4051, allocations: 137.9 kB / 458.2 MB, free: 18.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/0.4146, allocations: 6.537 MB / 464.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.4152, allocations: 0.9659 MB / 465.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.4157, allocations: 102.1 kB / 465.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.4161, allocations: 304.2 kB / 466.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4161, allocations: 4.766 kB / 466.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.479, allocations: 16.12 MB / 482.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/9.996, allocations: 4.484 kB / 482.3 MB, free: 7.797 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.993182715028524]