Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001919/0.001919, allocations: 116.9 kB / 18.45 MB, free: 4.566 MB / 14.72 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.002399/0.002399, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 51.92 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1082, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006871/0.1151, allocations: 4.536 MB / 395.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1187, allocations: 1.762 MB / 397.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.1191, allocations: 15.94 kB / 397.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.1199, allocations: 426.2 kB / 398.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.1208, allocations: 417.7 kB / 398.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.1215, allocations: 307.5 kB / 398.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.1229, allocations: 1.028 MB / 399.9 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.1233, allocations: 206.6 kB / 400.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1238, allocations: 418.6 kB / 400.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.1244, allocations: 0.5295 MB / 401 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1245, allocations: 96 kB / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.1247, allocations: 120 kB / 401.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.125, allocations: 239.2 kB / 401.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.1254, allocations: 457.7 kB / 401.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1268, allocations: 1.276 MB / 403.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1268, allocations: 0 / 403.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1268, allocations: 0 / 403.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1269, allocations: 0 / 403.2 MB, free: 12.88 MB / 334.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.002444/0.1293, allocations: 1.233 MB / 404.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1293, allocations: 8.031 kB / 404.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.1295, allocations: 102.6 kB / 404.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1297, allocations: 104.3 kB / 404.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1307, allocations: 0.5635 MB / 405.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.1307, allocations: 45.69 kB / 405.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1308, allocations: 67.88 kB / 405.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.1322, allocations: 0.6518 MB / 406 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.1322, allocations: 3.953 kB / 406 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.1323, allocations: 24 kB / 406 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.1323, allocations: 16 kB / 406 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1337, allocations: 0.5555 MB / 406.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.1378, allocations: 2.541 MB / 409.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1389, allocations: 446.7 kB / 409.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.1396, allocations: 282 kB / 409.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.1397, allocations: 16.41 kB / 409.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.1397, allocations: 39 kB / 409.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.1397, allocations: 0 / 409.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.005007/0.1447, allocations: 1.502 MB / 411.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1448, allocations: 59.91 kB / 411.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.1461, allocations: 0.9458 MB / 412.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.1462, allocations: 37.7 kB / 412.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.1465, allocations: 412.7 kB / 412.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1467, allocations: 218.1 kB / 413 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.1469, allocations: 114.6 kB / 413.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1471, allocations: 334 kB / 413.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.1478, allocations: 245.9 kB / 413.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.1485, allocations: 347 kB / 414 MB, free: 1.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1499, allocations: 0.5635 MB / 414.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1499, allocations: 4 kB / 414.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001788/0.1517, allocations: 0.735 MB / 415.3 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.1517, allocations: 7.906 kB / 415.3 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.1517, allocations: 4 kB / 415.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.1517, allocations: 7.938 kB / 415.4 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.1525, allocations: 171.8 kB / 415.5 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1526, allocations: 4 kB / 415.5 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.1531, allocations: 44.03 kB / 415.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.1532, allocations: 23.98 kB / 415.6 MB, free: 68 kB / 334.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.0004717/0.1537, allocations: 269.6 kB / 415.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.1538, allocations: 91.38 kB / 415.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1554, allocations: 0.6241 MB / 416.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1554, allocations: 8 kB / 416.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1554, allocations: 0 / 416.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1554, allocations: 3.984 kB / 416.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.1588, allocations: 1.815 MB / 418.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1588, allocations: 4.25 kB / 418.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.1593, allocations: 139.8 kB / 418.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.1593, allocations: 7.984 kB / 418.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.1594, allocations: 12 kB / 418.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.1594, allocations: 8 kB / 418.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1594, allocations: 0 / 418.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1608, allocations: 0.7474 MB / 419.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.1611, allocations: 212.5 kB / 419.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.1612, allocations: 15.94 kB / 419.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.1617, allocations: 39.97 kB / 419.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.1618, allocations: 48.25 kB / 419.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.1618, allocations: 20 kB / 419.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.1627, allocations: 0.6826 MB / 420.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1627, allocations: 0 / 420.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.1633, allocations: 156 kB / 420.5 MB, free: 10.98 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.003063/0.1663, allocations: 1.554 MB / 422 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.1678, allocations: 0.5536 MB / 422.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1678, allocations: 0.5625 kB / 422.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.1685, allocations: 282.2 kB / 422.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.1693, allocations: 127.4 kB / 423 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.1801, allocations: 6.504 MB / 429.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.1808, allocations: 0.9592 MB / 430.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.1813, allocations: 101 kB / 430.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.1817, allocations: 291.3 kB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1817, allocations: 3.938 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.2306, allocations: 15.63 MB / 446.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/9.833, allocations: 0 / 446.5 MB, free: 0.5547 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.719264946994372]