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.001708/0.001708, allocations: 120.1 kB / 17.79 MB, free: 5.27 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.001761/0.001761, allocations: 198.8 kB / 20.73 MB, free: 2.332 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.569/1.569, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.001535/0.001535, allocations: 52.06 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006749/0.1172, allocations: 4.611 MB / 422.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1208, allocations: 1.815 MB / 424.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.1213, allocations: 15.94 kB / 424.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.1221, allocations: 422.2 kB / 424.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.1231, allocations: 421.7 kB / 425 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.1239, allocations: 319.5 kB / 425.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1252, allocations: 1.024 MB / 426.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.1256, allocations: 214.5 kB / 426.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.1261, allocations: 418.7 kB / 427 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.1268, allocations: 0.5177 MB / 427.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1269, allocations: 100 kB / 427.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1271, allocations: 128 kB / 427.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.1273, allocations: 231.2 kB / 428 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.1278, allocations: 461.6 kB / 428.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1292, allocations: 1.273 MB / 429.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1292, allocations: 0 / 429.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1292, allocations: 0 / 429.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1292, allocations: 0 / 429.7 MB, free: 0.668 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.002562/0.1318, allocations: 1.233 MB / 430.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1318, allocations: 8.031 kB / 430.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.132, allocations: 106.7 kB / 431 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.1321, allocations: 104.3 kB / 431.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1331, allocations: 0.5556 MB / 431.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.1332, allocations: 45.69 kB / 431.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.1333, allocations: 67.92 kB / 431.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.1346, allocations: 0.6441 MB / 432.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1346, allocations: 3.953 kB / 432.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1347, allocations: 20 kB / 432.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1347, allocations: 16 kB / 432.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.136, allocations: 0.5672 MB / 433 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.1401, allocations: 2.533 MB / 435.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1411, allocations: 450.5 kB / 436 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.1419, allocations: 286 kB / 436.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.1419, allocations: 4.438 kB / 436.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.142, allocations: 43 kB / 436.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/0.142, allocations: 0 / 436.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.004915/0.1469, allocations: 1.513 MB / 437.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1469, allocations: 55.97 kB / 437.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.1481, allocations: 0.938 MB / 438.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.1482, allocations: 37.7 kB / 438.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.1485, allocations: 412.7 kB / 439.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.1487, allocations: 218.1 kB / 439.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.149, allocations: 122.6 kB / 439.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1491, allocations: 334 kB / 440 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.1498, allocations: 245.9 kB / 440.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.1505, allocations: 343.1 kB / 440.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.1519, allocations: 0.5674 MB / 441.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1519, allocations: 0 / 441.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001788/0.1537, allocations: 0.7386 MB / 441.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.1537, allocations: 4 kB / 441.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1537, allocations: 4 kB / 441.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.1537, allocations: 8.281 kB / 441.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.1545, allocations: 175.8 kB / 442 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1545, allocations: 7.938 kB / 442 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.1551, allocations: 43.89 kB / 442.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.1551, allocations: 24 kB / 442.1 MB, free: 3.867 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 (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.0003923/0.1555, allocations: 269.6 kB / 442.4 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.1557, allocations: 87.42 kB / 442.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.1573, allocations: 0.6319 MB / 443.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1573, allocations: 8 kB / 443.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1573, allocations: 0 / 443.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1573, allocations: 3.984 kB / 443.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.1606, allocations: 1.803 MB / 444.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1606, allocations: 0 / 444.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.1612, allocations: 135.8 kB / 445 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.1612, allocations: 4 kB / 445 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.1612, allocations: 12.31 kB / 445 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.1612, allocations: 15.98 kB / 445.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1612, allocations: 3.938 kB / 445.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2357/0.3969, allocations: 0.7465 MB / 445.8 MB, free: 29.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.3974, allocations: 208.5 kB / 446 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3975, allocations: 15.77 kB / 446 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.3981, allocations: 35.2 kB / 446.1 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3982, allocations: 42.42 kB / 446.1 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.3982, allocations: 21.25 kB / 446.1 MB, free: 29.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008117/0.399, allocations: 0.6896 MB / 446.8 MB, free: 29.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.399, allocations: 0 / 446.8 MB, free: 29.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.3997, allocations: 145.7 kB / 447 MB, free: 29.7 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 (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.002679/0.4023, allocations: 1.57 MB / 448.5 MB, free: 28.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4037, allocations: 0.5551 MB / 449.1 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4037, allocations: 3.562 kB / 449.1 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.4043, allocations: 278.7 kB / 449.4 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.4051, allocations: 118.4 kB / 449.5 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4156, allocations: 6.511 MB / 456 MB, free: 26.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.4161, allocations: 0.9683 MB / 456.9 MB, free: 25.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004439/0.4166, allocations: 96.09 kB / 457 MB, free: 25.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.417, allocations: 294.1 kB / 457.3 MB, free: 25.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.417, allocations: 0 / 457.3 MB, free: 25.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/0.4689, allocations: 15.64 MB / 473 MB, free: 20.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.955, allocations: 7.594 kB / 473 MB, free: 20.48 MB / 366.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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: 12.804371619131416]