Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001656/0.001656, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001956/0.001956, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.244, allocations: 53.37 MB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006529/0.2505, allocations: 4.25 MB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.2541, allocations: 1.901 MB / 437.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.2544, allocations: 11.94 kB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.2552, allocations: 422.2 kB / 437.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.2561, allocations: 469.6 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.2568, allocations: 331 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.2579, allocations: 1.04 MB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2583, allocations: 195 kB / 439.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.2588, allocations: 438.7 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.2594, allocations: 498 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.2596, allocations: 100 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.2598, allocations: 128 kB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.26, allocations: 239.2 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.2604, allocations: 370.1 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2617, allocations: 1.311 MB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2617, allocations: 4 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2617, allocations: 0 / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2617, allocations: 3.938 kB / 442.7 MB, free: 11 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002107/0.2638, allocations: 1.162 MB / 443.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2639, allocations: 12.03 kB / 443.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.264, allocations: 102.7 kB / 444 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.2644, allocations: 136.2 kB / 444.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.2654, allocations: 0.5112 MB / 444.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.2654, allocations: 45.31 kB / 444.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/0.2655, allocations: 60 kB / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.2667, allocations: 0.6613 MB / 445.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2667, allocations: 3.938 kB / 445.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.2668, allocations: 24 kB / 445.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2668, allocations: 16 kB / 445.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.2679, allocations: 0.5127 MB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.2716, allocations: 2.117 MB / 448.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.2725, allocations: 444.9 kB / 448.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/0.2731, allocations: 265 kB / 448.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.2732, allocations: 12.44 kB / 448.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2732, allocations: 38.94 kB / 448.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.954e-06/0.2732, allocations: 0 / 448.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00426/0.2775, allocations: 1.46 MB / 450.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2775, allocations: 56.06 kB / 450.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.2788, allocations: 0.9732 MB / 451.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.2788, allocations: 37.7 kB / 451.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.2792, allocations: 420.6 kB / 451.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.2793, allocations: 222.1 kB / 452 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.2796, allocations: 122.6 kB / 452.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2797, allocations: 330 kB / 452.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.2803, allocations: 225.9 kB / 452.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.2809, allocations: 331 kB / 453 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2821, allocations: 0.5484 MB / 453.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.2821, allocations: 3.938 kB / 453.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001457/0.2836, allocations: 0.7074 MB / 454.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2836, allocations: 8 kB / 454.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2836, allocations: 4 kB / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2836, allocations: 4 kB / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.2844, allocations: 168 kB / 454.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.2844, allocations: 11.92 kB / 454.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.2848, allocations: 35.97 kB / 454.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.2849, allocations: 23.98 kB / 454.5 MB, free: 14.93 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0003495/0.2852, allocations: 273.6 kB / 454.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2854, allocations: 95.36 kB / 454.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.2867, allocations: 0.611 MB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2867, allocations: 4 kB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2867, allocations: 0 / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.2867, allocations: 7.984 kB / 455.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.2896, allocations: 1.539 MB / 457 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2896, allocations: 4.062 kB / 457 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.2901, allocations: 123.9 kB / 457.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.2901, allocations: 7.938 kB / 457.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.2902, allocations: 16 kB / 457.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.2902, allocations: 7.984 kB / 457.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.2902, allocations: 8 kB / 457.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2915, allocations: 0.7338 MB / 457.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.2918, allocations: 131.4 kB / 458 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.2919, allocations: 12 kB / 458 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.2923, allocations: 31.97 kB / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2924, allocations: 52.23 kB / 458.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.2925, allocations: 23.94 kB / 458.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009137/0.2934, allocations: 0.7021 MB / 458.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2934, allocations: 0 / 458.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005949/0.294, allocations: 155.9 kB / 459 MB, free: 10.25 MB / 366.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 (63): * Single equations (assignments): 63 * 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.002897/0.2969, allocations: 1.557 MB / 460.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2982, allocations: 0.5269 MB / 461.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2982, allocations: 0 / 461.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.2987, allocations: 263.3 kB / 461.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.2996, allocations: 138.7 kB / 461.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009997/0.3096, allocations: 6.533 MB / 468 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.31, allocations: 375.9 kB / 468.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.3104, allocations: 97.17 kB / 468.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.3108, allocations: 311.3 kB / 468.8 MB, free: 312 kB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3108, allocations: 0 / 468.8 MB, free: 312 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.3598, allocations: 17.21 MB / 486 MB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.06, allocations: 7.922 kB / 486 MB, free: 15.27 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.016962229739875]