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.001143/0.001143, 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.004315/0.004315, allocations: 161.6 kB / 24.69 MB, free: 8.883 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.8735/0.8735, allocations: 158.6 MB / 186.5 MB, free: 3.047 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.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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.034e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1525/0.1525, allocations: 5.635 MB / 304.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1559, allocations: 2.061 MB / 306.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000606/0.1565, allocations: 23.28 kB / 306.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007612/0.1572, allocations: 357.1 kB / 306.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.1582, allocations: 0.4932 MB / 307 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007906/0.159, allocations: 450.7 kB / 307.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.1604, allocations: 1.58 MB / 309 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.1608, allocations: 325.5 kB / 309.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009134/0.1618, allocations: 0.8768 MB / 310.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.1624, allocations: 0.532 MB / 310.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1626, allocations: 159.2 kB / 310.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1629, allocations: 188.3 kB / 311.1 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1631, allocations: 328.2 kB / 311.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.1635, allocations: 471.6 kB / 311.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.1653, allocations: 1.984 MB / 313.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1653, allocations: 0 / 313.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1653, allocations: 0 / 313.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.1654, allocations: 1.375 kB / 313.8 MB, free: 8.211 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002241/0.1676, allocations: 1.486 MB / 315.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1676, allocations: 12.39 kB / 315.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.1678, allocations: 156.7 kB / 315.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1679, allocations: 136.6 kB / 315.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.1688, allocations: 0.6474 MB / 316.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.1689, allocations: 74.25 kB / 316.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.169, allocations: 98.2 kB / 316.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1703, allocations: 1.066 MB / 317.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.1704, allocations: 2.688 kB / 317.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.1704, allocations: 40.81 kB / 317.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.1704, allocations: 23.12 kB / 317.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.1717, allocations: 0.8823 MB / 318.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.1752, allocations: 3.035 MB / 321.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1769, allocations: 0.8528 MB / 322.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1774, allocations: 348 kB / 322.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.1775, allocations: 10.94 kB / 322.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1775, allocations: 38.84 kB / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 3.025e-06/0.1775, allocations: 0 / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.00314/0.1806, allocations: 1.811 MB / 324.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1807, allocations: 88.58 kB / 324.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.1817, allocations: 1.001 MB / 325.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1818, allocations: 36.08 kB / 325.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.182, allocations: 0.536 MB / 326.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.1821, allocations: 237.8 kB / 326.4 MB, free: 436 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1822, allocations: 154 kB / 326.6 MB, free: 336 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.1823, allocations: 341.8 kB / 326.9 MB, free: 16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.1829, allocations: 342.7 kB / 327.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.1835, allocations: 0.5248 MB / 327.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.1847, allocations: 0.8216 MB / 328.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1847, allocations: 6.406 kB / 328.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001512/0.1862, allocations: 1.023 MB / 329.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1862, allocations: 8.406 kB / 329.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.1862, allocations: 4.594 kB / 329.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.1863, allocations: 13.91 kB / 329.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.187, allocations: 286.6 kB / 329.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.187, allocations: 10.69 kB / 329.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.1876, allocations: 66.64 kB / 330 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.1876, allocations: 40.3 kB / 330 MB, free: 14.23 MB / 298.7 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.0004714/0.1881, allocations: 282.9 kB / 330.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1882, allocations: 102.1 kB / 330.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.1889, allocations: 386.9 kB / 330.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.1889, allocations: 12.19 kB / 330.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.1889, allocations: 0 / 330.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1889, allocations: 5.359 kB / 330.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.1919, allocations: 2.113 MB / 332.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.192, allocations: 5.547 kB / 332.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.1924, allocations: 208.1 kB / 333.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.1924, allocations: 8 kB / 333.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.1924, allocations: 20.88 kB / 333.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.1925, allocations: 19.92 kB / 333.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1925, allocations: 11.94 kB / 333.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1937, allocations: 1.025 MB / 334.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1938, allocations: 111.3 kB / 334.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.1939, allocations: 23.98 kB / 334.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.1942, allocations: 52.95 kB / 334.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.1943, allocations: 71.72 kB / 334.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.1943, allocations: 24 kB / 334.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006282/0.195, allocations: 0.6786 MB / 335.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 335.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006416/0.1956, allocations: 208 kB / 335.4 MB, free: 9.145 MB / 298.7 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.002174/0.1978, allocations: 1.861 MB / 337.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1989, allocations: 0.7421 MB / 338 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1989, allocations: 3.938 kB / 338 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.1994, allocations: 354.1 kB / 338.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.2002, allocations: 199.7 kB / 338.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.2113, allocations: 8.437 MB / 347 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.2117, allocations: 423.1 kB / 347.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007439/0.2125, allocations: 127.2 kB / 347.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.2131, allocations: 380.4 kB / 347.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2131, allocations: 8 kB / 347.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.2526, allocations: 21.72 MB / 369.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.728, allocations: 11.95 kB / 369.6 MB, free: 6.188 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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: 9.491787599399686]