Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001503/0.001503, allocations: 205.6 kB / 23.73 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 47.94 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2595, allocations: 53.38 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009103/0.2686, allocations: 5.811 MB / 436.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.2735, allocations: 2.295 MB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.2744, allocations: 19.94 kB / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2755, allocations: 357.7 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.2771, allocations: 0.5355 MB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2783, allocations: 455.3 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.2809, allocations: 1.569 MB / 442.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000841/0.2817, allocations: 326 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.283, allocations: 0.6112 MB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2842, allocations: 0.6067 MB / 443.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.2846, allocations: 160 kB / 443.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.2851, allocations: 203.9 kB / 444 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.2855, allocations: 331 kB / 444.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.2863, allocations: 0.5483 MB / 444.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.2884, allocations: 1.993 MB / 446.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2884, allocations: 4 kB / 446.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2884, allocations: 0 / 446.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.2884, allocations: 0 / 446.9 MB, free: 6.762 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002872/0.2913, allocations: 1.501 MB / 448.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2914, allocations: 12.03 kB / 448.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.2915, allocations: 152.3 kB / 448.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.2921, allocations: 164.1 kB / 448.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2933, allocations: 0.6772 MB / 449.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.2934, allocations: 74 kB / 449.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.2936, allocations: 96 kB / 449.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.2954, allocations: 1.036 MB / 450.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2954, allocations: 8 kB / 450.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.2955, allocations: 36 kB / 450.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2955, allocations: 24 kB / 450.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2973, allocations: 0.8094 MB / 451.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.3027, allocations: 3.064 MB / 454.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.3046, allocations: 0.5915 MB / 455.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.3053, allocations: 293.5 kB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.3053, allocations: 12.36 kB / 455.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.3053, allocations: 46.5 kB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.816e-06/0.3053, allocations: 0 / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004292/0.3096, allocations: 1.689 MB / 457.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3097, allocations: 85.11 kB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.3111, allocations: 1.057 MB / 458.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.3112, allocations: 41.7 kB / 458.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.3116, allocations: 0.5584 MB / 458.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3118, allocations: 242 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.3121, allocations: 162.6 kB / 459.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3123, allocations: 345.9 kB / 459.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.313, allocations: 301.8 kB / 459.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.3139, allocations: 0.4913 MB / 460.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.3155, allocations: 0.7786 MB / 461.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3155, allocations: 0 / 461.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002046/0.3176, allocations: 0.9748 MB / 462.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3176, allocations: 4 kB / 462.1 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3176, allocations: 8 kB / 462.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3176, allocations: 8 kB / 462.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3188, allocations: 272 kB / 462.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.3188, allocations: 19.92 kB / 462.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.3196, allocations: 51.89 kB / 462.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.3196, allocations: 39.98 kB / 462.5 MB, free: 6.609 MB / 366.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 (112): * Single equations (assignments): 112 * 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.0004283/0.3201, allocations: 292.4 kB / 462.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3202, allocations: 111.3 kB / 462.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.3211, allocations: 354.4 kB / 463.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3211, allocations: 4 kB / 463.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3211, allocations: 8 kB / 463.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3211, allocations: 7.922 kB / 463.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.325, allocations: 2.094 MB / 465.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.325, allocations: 8 kB / 465.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/0.3258, allocations: 207.7 kB / 465.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.3259, allocations: 8.156 kB / 465.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.3259, allocations: 24 kB / 465.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.3259, allocations: 15.92 kB / 465.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.3259, allocations: 11.94 kB / 465.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3277, allocations: 1.045 MB / 466.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3279, allocations: 115.3 kB / 466.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.328, allocations: 24 kB / 466.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.3286, allocations: 51.95 kB / 466.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3287, allocations: 71.66 kB / 467 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.3288, allocations: 24 kB / 467 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009934/0.3298, allocations: 0.7229 MB / 467.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3298, allocations: 0 / 467.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007852/0.3306, allocations: 219.9 kB / 467.9 MB, free: 0.9609 MB / 366.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.003446/0.334, allocations: 1.87 MB / 469.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3357, allocations: 0.6912 MB / 470.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3357, allocations: 4 kB / 470.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.3364, allocations: 345.4 kB / 470.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3376, allocations: 228 kB / 471.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.351, allocations: 8.464 MB / 479.5 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.3515, allocations: 451.9 kB / 480 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005691/0.352, allocations: 123.6 kB / 480.1 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.3526, allocations: 403.3 kB / 480.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3526, allocations: 0 / 480.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/0.4095, allocations: 22.38 MB / 0.4911 GB, free: 13.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 6.641 kB / 0.4911 GB, free: 13.86 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.958656376693398]