Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001974/0.001974, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002383/0.002383, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003003/0.003003, allocations: 67.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2634, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006992/0.2703, allocations: 4.265 MB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.2739, allocations: 1.889 MB / 437.3 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.2744, allocations: 15.94 kB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008208/0.2752, allocations: 422.2 kB / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2762, allocations: 465.5 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.2769, allocations: 331.4 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2781, allocations: 1.039 MB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.2784, allocations: 191.1 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.279, allocations: 442.5 kB / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.2796, allocations: 0.4942 MB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.2798, allocations: 96 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.28, allocations: 128 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.2803, allocations: 239.2 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.2806, allocations: 370.1 kB / 441.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2821, allocations: 1.308 MB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2821, allocations: 7.938 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2821, allocations: 0 / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.2822, allocations: 0 / 442.8 MB, free: 10.75 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.002271/0.2844, allocations: 1.17 MB / 443.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2845, allocations: 15.98 kB / 444 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.2846, allocations: 102.7 kB / 444.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.2851, allocations: 128.2 kB / 444.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2861, allocations: 0.5117 MB / 444.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.2862, allocations: 49.44 kB / 444.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2863, allocations: 59.98 kB / 444.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2875, allocations: 0.6575 MB / 445.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.2875, allocations: 0 / 445.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.2876, allocations: 24 kB / 445.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.2876, allocations: 20 kB / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2887, allocations: 0.5165 MB / 446 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.2925, allocations: 2.101 MB / 448.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.2934, allocations: 441.6 kB / 448.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/0.2941, allocations: 273.6 kB / 448.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.2941, allocations: 8.438 kB / 448.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.2942, allocations: 35 kB / 448.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.883e-06/0.2942, allocations: 0 / 448.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004226/0.2984, allocations: 1.472 MB / 450.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2984, allocations: 56.06 kB / 450.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2998, allocations: 0.9693 MB / 451.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.2998, allocations: 37.7 kB / 451.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.3002, allocations: 420.7 kB / 451.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3004, allocations: 226.1 kB / 452 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.3006, allocations: 118.6 kB / 452.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3008, allocations: 330 kB / 452.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.3013, allocations: 225.9 kB / 452.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.302, allocations: 331.1 kB / 453 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3031, allocations: 0.5444 MB / 453.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3031, allocations: 3.938 kB / 453.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001424/0.3045, allocations: 0.7155 MB / 454.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3045, allocations: 4 kB / 454.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3046, allocations: 4 kB / 454.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3046, allocations: 4 kB / 454.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.3053, allocations: 167.8 kB / 454.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.3053, allocations: 8 kB / 454.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.3058, allocations: 43.97 kB / 454.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.3058, allocations: 24 kB / 454.5 MB, free: 14.69 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.0003706/0.3062, allocations: 273.5 kB / 454.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3063, allocations: 91.38 kB / 454.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3077, allocations: 0.6111 MB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3077, allocations: 4 kB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3077, allocations: 4 kB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3077, allocations: 7.922 kB / 455.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.3105, allocations: 1.535 MB / 457 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3105, allocations: 0 / 457 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.3111, allocations: 127.8 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.3111, allocations: 4.312 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.3111, allocations: 20 kB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.3111, allocations: 7.938 kB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3111, allocations: 4 kB / 457.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3124, allocations: 0.7299 MB / 457.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.3127, allocations: 135.4 kB / 458.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3128, allocations: 16 kB / 458.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.3132, allocations: 31.97 kB / 458.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3133, allocations: 48.3 kB / 458.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.3133, allocations: 20 kB / 458.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.3142, allocations: 0.6982 MB / 458.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3142, allocations: 0 / 458.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005603/0.3148, allocations: 159.9 kB / 459 MB, free: 10.02 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.00286/0.3176, allocations: 1.562 MB / 460.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3188, allocations: 0.5234 MB / 461.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3188, allocations: 3.938 kB / 461.1 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.3194, allocations: 262.3 kB / 461.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.3202, allocations: 143.5 kB / 461.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.3307, allocations: 6.525 MB / 468 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3311, allocations: 379.9 kB / 468.4 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.3315, allocations: 97.17 kB / 468.5 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.332, allocations: 299.3 kB / 468.8 MB, free: 60 kB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.332, allocations: 0 / 468.8 MB, free: 60 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04928/0.3813, allocations: 17.22 MB / 486 MB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.42, allocations: 3.984 kB / 486 MB, free: 14.95 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.283490531146526]