Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 195.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 55.91 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2425, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008838/0.2514, allocations: 5.718 MB / 428.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.2559, allocations: 2.104 MB / 430.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009235/0.2569, allocations: 23.88 kB / 430.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.258, allocations: 349.8 kB / 430.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.2594, allocations: 496.6 kB / 431.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.2603, allocations: 461.4 kB / 431.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.262, allocations: 1.542 MB / 433.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.2625, allocations: 329.9 kB / 433.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.2632, allocations: 0.5879 MB / 434.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.2639, allocations: 0.6067 MB / 434.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2641, allocations: 160 kB / 434.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.2644, allocations: 180 kB / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.2647, allocations: 327 kB / 435.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.2653, allocations: 0.5406 MB / 435.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.2672, allocations: 1.95 MB / 437.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2672, allocations: 0 / 437.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2672, allocations: 4 kB / 437.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.2672, allocations: 0 / 437.9 MB, free: 14.98 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003057/0.2702, allocations: 1.489 MB / 439.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2703, allocations: 12.03 kB / 439.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.2705, allocations: 152.1 kB / 439.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.2707, allocations: 136.1 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.2719, allocations: 0.659 MB / 440.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.272, allocations: 70.38 kB / 440.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.2722, allocations: 103.9 kB / 440.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2742, allocations: 1.059 MB / 441.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.2742, allocations: 4 kB / 441.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.2743, allocations: 40 kB / 441.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.2743, allocations: 24 kB / 441.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.2764, allocations: 0.8873 MB / 442.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.2818, allocations: 3.019 MB / 445.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.2848, allocations: 0.8676 MB / 446.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.2857, allocations: 334.5 kB / 446.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2857, allocations: 8 kB / 446.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2857, allocations: 46.36 kB / 446.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.464e-06/0.2857, allocations: 3.938 kB / 446.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00515/0.2909, allocations: 1.812 MB / 448.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.2909, allocations: 89.09 kB / 448.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2923, allocations: 0.9896 MB / 449.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.2923, allocations: 37.7 kB / 449.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.2928, allocations: 0.5428 MB / 450.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.293, allocations: 245.9 kB / 450.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.2933, allocations: 154.6 kB / 450.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2934, allocations: 341.9 kB / 451 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/0.2944, allocations: 337.8 kB / 451.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2955, allocations: 0.5299 MB / 451.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.2974, allocations: 0.8204 MB / 452.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.2974, allocations: 8 kB / 452.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002411/0.2998, allocations: 1.016 MB / 453.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2999, allocations: 12.03 kB / 453.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2999, allocations: 4 kB / 453.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.2999, allocations: 8 kB / 453.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3012, allocations: 283.6 kB / 454 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/0.3012, allocations: 19.92 kB / 454 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/0.302, allocations: 63.94 kB / 454.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.3021, allocations: 35.98 kB / 454.1 MB, free: 14.3 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 (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.0004589/0.3025, allocations: 281.6 kB / 454.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.3027, allocations: 107.3 kB / 454.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.3038, allocations: 390.1 kB / 454.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3038, allocations: 8 kB / 454.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3038, allocations: 0 / 454.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3038, allocations: 3.984 kB / 454.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.3079, allocations: 2.108 MB / 457 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3079, allocations: 8.156 kB / 457 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.3088, allocations: 207.7 kB / 457.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.3088, allocations: 8 kB / 457.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.3088, allocations: 23.98 kB / 457.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.3088, allocations: 19.88 kB / 457.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.567e-05/0.3089, allocations: 15.94 kB / 457.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.3107, allocations: 1.04 MB / 458.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.311, allocations: 119.2 kB / 458.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3111, allocations: 20 kB / 458.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.3117, allocations: 51.89 kB / 458.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3118, allocations: 63.78 kB / 458.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.3119, allocations: 31.98 kB / 458.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009333/0.3128, allocations: 0.6786 MB / 459.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3128, allocations: 0 / 459.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007806/0.3136, allocations: 204 kB / 459.5 MB, free: 8.703 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.003415/0.317, allocations: 1.885 MB / 461.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3189, allocations: 0.7339 MB / 462.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3189, allocations: 4.438 kB / 462.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.3197, allocations: 349.1 kB / 462.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.3209, allocations: 196.9 kB / 462.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.3349, allocations: 8.426 MB / 471 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.3354, allocations: 443 kB / 471.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.336, allocations: 119.2 kB / 471.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/0.3367, allocations: 383.3 kB / 472 MB, free: 11.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3367, allocations: 0 / 472 MB, free: 11.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.3921, allocations: 21.63 MB / 493.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.33, allocations: 7.859 kB / 493.6 MB, free: 6.371 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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.00119952 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.089065329171717]