Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001464/0.001464, allocations: 117.9 kB / 18.45 MB, free: 4.609 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.0015/0.0015, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.501/1.501, allocations: 207.6 MB / 231.8 MB, free: 4.234 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.001721/0.001721, allocations: 52.3 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009058/0.1123, allocations: 6.361 MB / 397.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.1173, allocations: 2.151 MB / 399.9 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.1181, allocations: 23.88 kB / 400 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1192, allocations: 361.9 kB / 400.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.1207, allocations: 496.6 kB / 400.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1218, allocations: 431.4 kB / 401.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.1239, allocations: 1.545 MB / 402.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.1245, allocations: 357.5 kB / 403.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008641/0.1254, allocations: 0.5879 MB / 403.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.1262, allocations: 0.677 MB / 404.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.1264, allocations: 160 kB / 404.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1267, allocations: 188 kB / 404.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.127, allocations: 323 kB / 405 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.1276, allocations: 0.6649 MB / 405.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.1298, allocations: 1.938 MB / 407.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1298, allocations: 0 / 407.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1298, allocations: 4 kB / 407.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.1299, allocations: 0 / 407.6 MB, free: 8.414 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003716/0.1336, allocations: 1.576 MB / 409.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.1336, allocations: 8.031 kB / 409.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.1339, allocations: 152.2 kB / 409.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.1341, allocations: 136.1 kB / 409.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1357, allocations: 0.7207 MB / 410.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.1357, allocations: 74.38 kB / 410.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.1359, allocations: 99.89 kB / 410.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.138, allocations: 1.013 MB / 411.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.1381, allocations: 7.938 kB / 411.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.1382, allocations: 40 kB / 411.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.1382, allocations: 24 kB / 411.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.1404, allocations: 0.8835 MB / 412.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006861/0.1473, allocations: 3.642 MB / 416 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.1505, allocations: 0.8635 MB / 416.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/0.1513, allocations: 337.4 kB / 417.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.1514, allocations: 8 kB / 417.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1514, allocations: 46.56 kB / 417.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.527e-06/0.1514, allocations: 0 / 417.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005467/0.1569, allocations: 1.811 MB / 419.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.157, allocations: 93.03 kB / 419.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.1585, allocations: 0.9742 MB / 420.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.1586, allocations: 41.7 kB / 420.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.1591, allocations: 0.535 MB / 420.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1593, allocations: 242 kB / 420.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.1596, allocations: 154.6 kB / 421.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1598, allocations: 341.9 kB / 421.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.1608, allocations: 341.8 kB / 421.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.1619, allocations: 0.5223 MB / 422.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.164, allocations: 0.8252 MB / 423.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.164, allocations: 0 / 423.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00271/0.1667, allocations: 1.017 MB / 424.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.1667, allocations: 11.91 kB / 424.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1667, allocations: 8 kB / 424.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.1668, allocations: 8.344 kB / 424.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.1681, allocations: 287.6 kB / 424.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.1681, allocations: 19.86 kB / 424.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.169, allocations: 67.94 kB / 424.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.169, allocations: 35.98 kB / 424.5 MB, free: 6.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004866/0.1695, allocations: 281.6 kB / 424.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.1697, allocations: 107.3 kB / 424.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1708, allocations: 382.2 kB / 425.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1708, allocations: 8 kB / 425.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1708, allocations: 0 / 425.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.1708, allocations: 7.984 kB / 425.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.1751, allocations: 2.295 MB / 427.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.1752, allocations: 11.94 kB / 427.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.1761, allocations: 207.9 kB / 427.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.1761, allocations: 16 kB / 427.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.1761, allocations: 19.98 kB / 427.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.1761, allocations: 19.88 kB / 427.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.1762, allocations: 11.94 kB / 427.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.1781, allocations: 1.03 MB / 428.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.1784, allocations: 192.4 kB / 429.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.1785, allocations: 23.98 kB / 429.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.1791, allocations: 55.89 kB / 429.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1793, allocations: 59.75 kB / 429.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.1793, allocations: 35.98 kB / 429.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.1803, allocations: 0.6747 MB / 430 MB, free: 1.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1803, allocations: 0 / 430 MB, free: 1.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.1812, allocations: 211.9 kB / 430.2 MB, free: 1.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.00354/0.1847, allocations: 1.853 MB / 432 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.1868, allocations: 0.7301 MB / 432.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.1868, allocations: 4 kB / 432.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.1877, allocations: 357.3 kB / 433.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.189, allocations: 196.4 kB / 433.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.2045, allocations: 8.417 MB / 441.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/0.2053, allocations: 1.014 MB / 442.7 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.2059, allocations: 127.2 kB / 442.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/0.2065, allocations: 383.3 kB / 443.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2065, allocations: 0 / 443.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2349/0.4414, allocations: 20.19 MB / 463.4 MB, free: 62.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.89/10.33, allocations: 5.219 kB / 463.4 MB, free: 62.56 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cActuator.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.00430240300193]