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.001609/0.001609, allocations: 120.8 kB / 17.74 MB, free: 5.297 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.001746/0.001747, allocations: 186.9 kB / 20.68 MB, free: 2.371 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.44/1.44, allocations: 222.9 MB / 246.4 MB, free: 4.188 MB / 190.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.001629/0.001629, allocations: 51.92 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1177, allocations: 49.43 MB / 406.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006788/0.1245, allocations: 4.572 MB / 411.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.1279, allocations: 1.811 MB / 413.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.1283, allocations: 11.94 kB / 413.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.1292, allocations: 418.3 kB / 413.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008837/0.1301, allocations: 413.7 kB / 414.1 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.1309, allocations: 326.4 kB / 414.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.1321, allocations: 1.024 MB / 415.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/0.1326, allocations: 302.5 kB / 415.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.1331, allocations: 402.8 kB / 416.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.1338, allocations: 0.51 MB / 416.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1339, allocations: 99.94 kB / 416.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.1342, allocations: 120 kB / 416.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.1345, allocations: 235.3 kB / 417.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.1349, allocations: 453.6 kB / 417.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.1365, allocations: 1.276 MB / 418.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1365, allocations: 0 / 418.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1365, allocations: 0 / 418.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1365, allocations: 0 / 418.8 MB, free: 11.36 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002386/0.1389, allocations: 1.23 MB / 420.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.139, allocations: 8.031 kB / 420.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.1391, allocations: 106.7 kB / 420.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1393, allocations: 104.3 kB / 420.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.1403, allocations: 0.5595 MB / 420.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.1403, allocations: 49.67 kB / 420.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.1404, allocations: 63.94 kB / 421 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.1417, allocations: 0.6441 MB / 421.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1417, allocations: 3.953 kB / 421.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.1418, allocations: 20 kB / 421.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1418, allocations: 19.98 kB / 421.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1431, allocations: 0.5594 MB / 422.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.1471, allocations: 2.533 MB / 424.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1481, allocations: 475.4 kB / 425.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/0.1489, allocations: 307.3 kB / 425.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.149, allocations: 4.438 kB / 425.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.149, allocations: 39 kB / 425.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.694e-06/0.1491, allocations: 0 / 425.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004823/0.1539, allocations: 1.509 MB / 427 MB, free: 2.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.154, allocations: 63.97 kB / 427.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1552, allocations: 0.938 MB / 428 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1552, allocations: 37.7 kB / 428.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.1556, allocations: 408.7 kB / 428.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.1558, allocations: 210.2 kB / 428.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.156, allocations: 126.6 kB / 428.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1562, allocations: 330 kB / 429.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.1568, allocations: 253.8 kB / 429.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.1575, allocations: 343.1 kB / 429.7 MB, free: 136 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.213/0.3705, allocations: 0.562 MB / 430.3 MB, free: 21.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3706, allocations: 0 / 430.3 MB, free: 21.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001568/0.3721, allocations: 0.7354 MB / 431 MB, free: 21.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3722, allocations: 6.438 kB / 431 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3722, allocations: 3.688 kB / 431 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3722, allocations: 5.75 kB / 431 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.373, allocations: 170 kB / 431.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.373, allocations: 7.344 kB / 431.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.3736, allocations: 44 kB / 431.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.3736, allocations: 26.81 kB / 431.3 MB, free: 21.39 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.000424/0.374, allocations: 267.8 kB / 431.5 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3742, allocations: 87.83 kB / 431.6 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.3757, allocations: 0.6356 MB / 432.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3757, allocations: 3.969 kB / 432.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3757, allocations: 2.031 kB / 432.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3757, allocations: 3.609 kB / 432.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.3785, allocations: 1.802 MB / 434.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3785, allocations: 0 / 434.1 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.3791, allocations: 131.6 kB / 434.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3791, allocations: 6.844 kB / 434.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.3791, allocations: 13.69 kB / 434.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.3791, allocations: 11.19 kB / 434.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3791, allocations: 7.531 kB / 434.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3806, allocations: 0.7494 MB / 435 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.3809, allocations: 208.4 kB / 435.2 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/0.381, allocations: 15.58 kB / 435.2 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.3815, allocations: 35.81 kB / 435.2 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.3816, allocations: 50.89 kB / 435.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.3817, allocations: 19.36 kB / 435.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009004/0.3826, allocations: 0.6861 MB / 436 MB, free: 20.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3826, allocations: 0 / 436 MB, free: 20.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000584/0.3832, allocations: 152.4 kB / 436.1 MB, free: 20.17 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.002768/0.386, allocations: 1.575 MB / 437.7 MB, free: 19.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.3874, allocations: 0.5823 MB / 438.3 MB, free: 19.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3874, allocations: 0 / 438.3 MB, free: 19.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.3881, allocations: 295.4 kB / 438.6 MB, free: 19.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.3889, allocations: 134.3 kB / 438.7 MB, free: 19.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009966/0.3989, allocations: 6.518 MB / 445.2 MB, free: 17.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.3995, allocations: 0.9644 MB / 446.2 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005886/0.4001, allocations: 95.47 kB / 446.3 MB, free: 16.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.4007, allocations: 289.3 kB / 446.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4007, allocations: 0 / 446.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.44, allocations: 15.52 MB / 462.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.623/10.06, allocations: 11.23 kB / 462.1 MB, free: 8.605 MB / 350.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.822556869941764]