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.0007947/0.0007947, allocations: 76.08 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.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.0007449/0.0007449, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8977/0.8977, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733e-06/1.733e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.035e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004152/0.004173, allocations: 4.171 MB / 322.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.006332, allocations: 1.729 MB / 324.3 MB, free: 428 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.006643, allocations: 11.94 kB / 324.3 MB, free: 416 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.007264, allocations: 426.2 kB / 324.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.007862, allocations: 421.4 kB / 325.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.00832, allocations: 334.2 kB / 325.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.009089, allocations: 1.047 MB / 326.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.009336, allocations: 191.1 kB / 326.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.009817, allocations: 0.5887 MB / 327.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.01019, allocations: 443 kB / 327.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.01028, allocations: 96 kB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.01041, allocations: 127.9 kB / 328 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01057, allocations: 243.2 kB / 328.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.01076, allocations: 287.3 kB / 328.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.01162, allocations: 1.305 MB / 329.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01163, allocations: 0 / 329.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01163, allocations: 0 / 329.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.01164, allocations: 0 / 329.8 MB, free: 10.94 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001399/0.01304, allocations: 1.143 MB / 330.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01307, allocations: 8.922 kB / 330.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.01316, allocations: 102.7 kB / 331 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.01326, allocations: 104.3 kB / 331.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.01388, allocations: 0.4984 MB / 331.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.01392, allocations: 45.69 kB / 331.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.01398, allocations: 68.27 kB / 331.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.01478, allocations: 0.6772 MB / 332.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01479, allocations: 0 / 332.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.01483, allocations: 28 kB / 332.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.01484, allocations: 12 kB / 332.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.01561, allocations: 0.5478 MB / 333 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.01793, allocations: 2.099 MB / 335.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.01855, allocations: 450.5 kB / 335.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.01898, allocations: 289.2 kB / 335.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.01901, allocations: 12.5 kB / 335.9 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.01903, allocations: 35.06 kB / 335.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.422e-06/0.01903, allocations: 0 / 335.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002749/0.02178, allocations: 1.504 MB / 337.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.02182, allocations: 55.91 kB / 337.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/0.02261, allocations: 0.9535 MB / 338.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.02264, allocations: 41.7 kB / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.0229, allocations: 416.6 kB / 338.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02301, allocations: 210.2 kB / 339.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.02314, allocations: 118.6 kB / 339.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.02322, allocations: 334 kB / 339.5 MB, free: 1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.02359, allocations: 241.9 kB / 339.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.02399, allocations: 347 kB / 340.1 MB, free: 396 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.02488, allocations: 0.5672 MB / 340.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02488, allocations: 0 / 340.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009098/0.02579, allocations: 0.7348 MB / 341.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.0258, allocations: 4.281 kB / 341.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.02581, allocations: 8 kB / 341.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.02583, allocations: 7.938 kB / 341.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.02622, allocations: 175.8 kB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.02623, allocations: 7.938 kB / 341.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.02647, allocations: 43.95 kB / 341.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.02649, allocations: 20 kB / 341.6 MB, free: 14.79 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 (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.0002215/0.02672, allocations: 265.7 kB / 341.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.02679, allocations: 83.48 kB / 342 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.02763, allocations: 0.6383 MB / 342.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.02764, allocations: 11.94 kB / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.02765, allocations: 0 / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02765, allocations: 3.984 kB / 342.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.02962, allocations: 1.559 MB / 344.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02962, allocations: 0 / 344.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.0299, allocations: 140.1 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.02991, allocations: 4 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.02993, allocations: 19.92 kB / 344.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.02994, allocations: 11.94 kB / 344.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02994, allocations: 0 / 344.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.03073, allocations: 0.742 MB / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.0309, allocations: 127.4 kB / 345.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.03095, allocations: 23.92 kB / 345.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.03116, allocations: 35.91 kB / 345.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.03123, allocations: 48.42 kB / 345.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.03125, allocations: 16 kB / 345.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005106/0.03176, allocations: 0.6865 MB / 346 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.03176, allocations: 0 / 346 MB, free: 10.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.03213, allocations: 155.9 kB / 346.2 MB, free: 10.08 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 (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.001494/0.03362, allocations: 1.584 MB / 347.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007926/0.03441, allocations: 0.5541 MB / 348.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.03442, allocations: 4 kB / 348.3 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.03476, allocations: 274.5 kB / 348.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.03524, allocations: 125.4 kB / 348.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.04203, allocations: 6.502 MB / 355.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.04228, allocations: 363.2 kB / 355.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.04254, allocations: 101 kB / 355.7 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.04282, allocations: 296.3 kB / 356 MB, free: 124 kB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04282, allocations: 0 / 356 MB, free: 124 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.07294, allocations: 16.81 MB / 372.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.571, allocations: 3.984 kB / 372.8 MB, free: 15.48 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 9.41644487157464]