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.0008181/0.0008181, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009278/0.0009278, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9145/0.9145, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.04e-05, allocations: 5.094 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004413/0.004434, allocations: 4.254 MB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.007291, allocations: 1.909 MB / 330.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.007714, allocations: 11.94 kB / 330.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.008424, allocations: 418.2 kB / 331.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008377/0.009262, allocations: 485.2 kB / 331.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.009871, allocations: 331.2 kB / 332 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009945/0.01087, allocations: 1.063 MB / 333 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.01118, allocations: 191.1 kB / 333.2 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.01189, allocations: 0.612 MB / 333.8 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.01238, allocations: 442.9 kB / 334.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01249, allocations: 100 kB / 334.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01269, allocations: 131.9 kB / 334.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.01287, allocations: 239.2 kB / 334.7 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.01311, allocations: 307.2 kB / 335 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.01416, allocations: 1.32 MB / 336.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01417, allocations: 0 / 336.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01417, allocations: 3.938 kB / 336.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.01419, allocations: 0 / 336.3 MB, free: 4.117 MB / 298.7 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.001634/0.01582, allocations: 1.154 MB / 337.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.01588, allocations: 8.031 kB / 337.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.01599, allocations: 102.7 kB / 337.6 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003584/0.01635, allocations: 128.2 kB / 337.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.0172, allocations: 0.5187 MB / 338.2 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.01724, allocations: 45.69 kB / 338.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.01731, allocations: 63.94 kB / 338.3 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.01818, allocations: 0.6497 MB / 339 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.0182, allocations: 7.938 kB / 339 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.01824, allocations: 24 kB / 339 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01825, allocations: 19.94 kB / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.019, allocations: 0.5321 MB / 339.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.02143, allocations: 2.095 MB / 341.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.02215, allocations: 446.3 kB / 342.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.02254, allocations: 266.2 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.02258, allocations: 8.5 kB / 342.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.02261, allocations: 39 kB / 342.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.284e-06/0.02261, allocations: 0 / 342.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002419/0.02503, allocations: 1.463 MB / 343.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.02506, allocations: 64.05 kB / 343.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007729/0.02584, allocations: 0.9731 MB / 344.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.02587, allocations: 33.7 kB / 344.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.0261, allocations: 420.8 kB / 345.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.0262, allocations: 218.1 kB / 345.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.02659, allocations: 126.6 kB / 345.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.02667, allocations: 326 kB / 346 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.02698, allocations: 229.9 kB / 346.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.02733, allocations: 327.1 kB / 346.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.02799, allocations: 0.5482 MB / 347.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02799, allocations: 0 / 347.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000856/0.02885, allocations: 0.7155 MB / 347.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02887, allocations: 7.984 kB / 347.8 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.02888, allocations: 4 kB / 347.8 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.0289, allocations: 4 kB / 347.8 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.02929, allocations: 167.8 kB / 348 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.0293, allocations: 11.94 kB / 348 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.02955, allocations: 32.05 kB / 348 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.02958, allocations: 27.98 kB / 348.1 MB, free: 8.059 MB / 314.7 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.0002706/0.02985, allocations: 269.6 kB / 348.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.02993, allocations: 91.38 kB / 348.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/0.03076, allocations: 0.6111 MB / 349 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.03077, allocations: 8 kB / 349 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.03078, allocations: 0 / 349 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.03079, allocations: 3.984 kB / 349 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.03277, allocations: 1.537 MB / 350.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.03277, allocations: 7.938 kB / 350.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.03307, allocations: 123.8 kB / 350.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.03308, allocations: 8.312 kB / 350.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.0331, allocations: 19.98 kB / 350.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.03311, allocations: 7.938 kB / 350.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.03311, allocations: 7.938 kB / 350.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.03386, allocations: 0.7263 MB / 351.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.03404, allocations: 135.3 kB / 351.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.0341, allocations: 19.98 kB / 351.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.03431, allocations: 27.98 kB / 351.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.03438, allocations: 40.42 kB / 351.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.0344, allocations: 27.92 kB / 351.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000555/0.03496, allocations: 0.7021 MB / 352.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.03496, allocations: 7.938 kB / 352.4 MB, free: 3.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.03535, allocations: 148 kB / 352.6 MB, free: 3.387 MB / 314.7 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.001746/0.0371, allocations: 1.561 MB / 354.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.03784, allocations: 0.5234 MB / 354.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03785, allocations: 0.5625 kB / 354.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.03815, allocations: 258.6 kB / 354.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.03867, allocations: 144.7 kB / 355.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.04542, allocations: 6.525 MB / 361.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.04568, allocations: 372 kB / 361.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000293/0.04597, allocations: 105.2 kB / 362 MB, free: 9.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.04627, allocations: 304.3 kB / 362.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04627, allocations: 0 / 362.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.0776, allocations: 17.34 MB / 379.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.307, allocations: 0 / 379.7 MB, free: 8.289 MB / 346.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 10.030145996250212]