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.0008711/0.0008711, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005943/0.005943, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.917/0.917, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.199e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.1509/0.1509, allocations: 4.12 MB / 302.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.1539, allocations: 1.663 MB / 304.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.1544, allocations: 17.03 kB / 304.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008327/0.1552, allocations: 418.3 kB / 304.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.1562, allocations: 440 kB / 305.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.1569, allocations: 304.1 kB / 305.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1584, allocations: 1.051 MB / 306.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.1588, allocations: 191.4 kB / 306.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1598, allocations: 0.5899 MB / 307.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.1606, allocations: 444.2 kB / 307.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.1607, allocations: 97.12 kB / 307.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1609, allocations: 128.7 kB / 307.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1611, allocations: 237.8 kB / 308.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.1614, allocations: 302.4 kB / 308.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1628, allocations: 1.293 MB / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1628, allocations: 0 / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1628, allocations: 1.281 kB / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.1629, allocations: 0 / 309.7 MB, free: 10.82 MB / 282.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.002089/0.165, allocations: 1.15 MB / 310.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.165, allocations: 13.08 kB / 310.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.1651, allocations: 101.7 kB / 310.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1653, allocations: 102.2 kB / 311 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.1661, allocations: 0.5008 MB / 311.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.1661, allocations: 49.97 kB / 311.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.1662, allocations: 60.55 kB / 311.6 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.1672, allocations: 0.6718 MB / 312.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1672, allocations: 0.6562 kB / 312.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1673, allocations: 25.88 kB / 312.3 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1673, allocations: 14.25 kB / 312.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009535/0.1682, allocations: 0.5582 MB / 312.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.1711, allocations: 2.091 MB / 315 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.1719, allocations: 444.2 kB / 315.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.1724, allocations: 286.1 kB / 315.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.1725, allocations: 10 kB / 315.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1725, allocations: 36.5 kB / 315.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 3.567e-06/0.1725, allocations: 0 / 315.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.002779/0.1753, allocations: 1.508 MB / 317.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1753, allocations: 66.78 kB / 317.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.1763, allocations: 0.9482 MB / 318.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1763, allocations: 40.27 kB / 318.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1765, allocations: 406.3 kB / 318.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1766, allocations: 218 kB / 318.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1767, allocations: 119 kB / 319 MB, free: 5.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.1768, allocations: 331.5 kB / 319.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1771, allocations: 244.7 kB / 319.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1775, allocations: 357.6 kB / 320 MB, free: 5.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.1783, allocations: 0.5567 MB / 320.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1783, allocations: 1.219 kB / 320.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001187/0.1795, allocations: 0.7337 MB / 321.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.1795, allocations: 10.53 kB / 321.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1795, allocations: 2.594 kB / 321.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.1796, allocations: 9.125 kB / 321.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.1801, allocations: 170.9 kB / 321.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.1801, allocations: 5.625 kB / 321.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.1805, allocations: 38.81 kB / 321.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.1806, allocations: 29.17 kB / 321.5 MB, free: 4.266 MB / 282.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.0003776/0.181, allocations: 269.7 kB / 321.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.1811, allocations: 89.58 kB / 321.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009057/0.182, allocations: 0.6282 MB / 322.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.182, allocations: 9.438 kB / 322.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.182, allocations: 1.375 kB / 322.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.182, allocations: 3.984 kB / 322.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.1839, allocations: 1.559 MB / 324.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1839, allocations: 1.75 kB / 324.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.1842, allocations: 137.8 kB / 324.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1842, allocations: 4.281 kB / 324.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1842, allocations: 18.22 kB / 324.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.1843, allocations: 5.125 kB / 324.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1843, allocations: 4.438 kB / 324.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/0.1851, allocations: 0.7414 MB / 325 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.1853, allocations: 130 kB / 325.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.1853, allocations: 22.5 kB / 325.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1855, allocations: 42.42 kB / 325.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.1856, allocations: 49.61 kB / 325.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.1856, allocations: 18.84 kB / 325.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006325/0.1863, allocations: 0.6823 MB / 325.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1863, allocations: 0 / 325.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.1868, allocations: 148.3 kB / 326.1 MB, free: 1.449 MB / 282.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.001526/0.1883, allocations: 1.589 MB / 327.6 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008825/0.1892, allocations: 0.5518 MB / 328.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1892, allocations: 0 / 328.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.1896, allocations: 268 kB / 328.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.1901, allocations: 122.5 kB / 328.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.1979, allocations: 6.514 MB / 335.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1982, allocations: 363.2 kB / 335.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.1985, allocations: 105 kB / 335.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.1988, allocations: 288.4 kB / 335.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.674e-06/0.1988, allocations: 3.938 kB / 335.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.2339, allocations: 16.79 MB / 352.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.381, allocations: 11.98 kB / 352.6 MB, free: 7.699 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 9.225673840381205]