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.001757/0.001757, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002024/0.002024, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.522/1.522, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001623/0.001623, allocations: 47.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1169, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007239/0.1241, allocations: 4.679 MB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2378/0.3619, allocations: 1.986 MB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.3623, allocations: 14.47 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.3631, allocations: 425.5 kB / 433.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009983/0.3641, allocations: 476 kB / 433.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.3648, allocations: 326.6 kB / 434.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3658, allocations: 1.038 MB / 435.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.3662, allocations: 205.1 kB / 435.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.3667, allocations: 435 kB / 435.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.3674, allocations: 0.535 MB / 436.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3675, allocations: 101.5 kB / 436.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3678, allocations: 133.8 kB / 436.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.368, allocations: 239.7 kB / 436.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.3683, allocations: 464.8 kB / 437.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3698, allocations: 1.305 MB / 438.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3698, allocations: 1.125 kB / 438.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3698, allocations: 0 / 438.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.3698, allocations: 0.7188 kB / 438.6 MB, free: 5.918 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.00217/0.372, allocations: 1.23 MB / 439.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.372, allocations: 13.41 kB / 439.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.3722, allocations: 105.2 kB / 440 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/0.3727, allocations: 128.8 kB / 440.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.3736, allocations: 0.5837 MB / 440.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.3736, allocations: 45.47 kB / 440.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3737, allocations: 63.88 kB / 440.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3749, allocations: 0.6328 MB / 441.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3749, allocations: 0 / 441.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.375, allocations: 25.81 kB / 441.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.375, allocations: 15.12 kB / 441.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3761, allocations: 0.5215 MB / 442 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.3799, allocations: 2.542 MB / 444.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/0.3809, allocations: 458.9 kB / 445 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.3815, allocations: 265.5 kB / 445.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.3816, allocations: 10.44 kB / 445.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3816, allocations: 38.09 kB / 445.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.3816, allocations: 0 / 445.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004494/0.3861, allocations: 1.459 MB / 446.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3861, allocations: 62.47 kB / 446.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3874, allocations: 0.9707 MB / 447.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3875, allocations: 35.95 kB / 447.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.3877, allocations: 413.2 kB / 448.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.3878, allocations: 229.9 kB / 448.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.388, allocations: 123.3 kB / 448.5 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.3881, allocations: 332.2 kB / 448.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.3888, allocations: 243 kB / 449.1 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.3895, allocations: 331 kB / 449.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3907, allocations: 0.5501 MB / 450 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3907, allocations: 3.938 kB / 450 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001631/0.3923, allocations: 0.7127 MB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3923, allocations: 7.203 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3923, allocations: 2.344 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.3924, allocations: 6.281 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.3932, allocations: 167.5 kB / 450.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.3932, allocations: 5.969 kB / 450.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.3937, allocations: 34.64 kB / 450.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.3938, allocations: 23.89 kB / 450.9 MB, free: 15.17 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.000455/0.3942, allocations: 277.6 kB / 451.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3944, allocations: 86.59 kB / 451.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.396, allocations: 0.6104 MB / 451.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.396, allocations: 6.812 kB / 451.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.396, allocations: 1.75 kB / 451.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.396, allocations: 4.672 kB / 451.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.3996, allocations: 1.784 MB / 453.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3996, allocations: 2.406 kB / 453.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.4001, allocations: 126.3 kB / 453.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.4002, allocations: 12.31 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.4002, allocations: 15.73 kB / 453.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4002, allocations: 4.594 kB / 453.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4002, allocations: 9.094 kB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.4016, allocations: 0.7321 MB / 454.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.402, allocations: 208.2 kB / 454.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/0.4021, allocations: 20.78 kB / 454.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.4025, allocations: 28.05 kB / 454.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.4026, allocations: 46.16 kB / 454.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.4027, allocations: 24.28 kB / 454.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.4038, allocations: 0.6989 MB / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4038, allocations: 0 / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007272/0.4046, allocations: 152.6 kB / 455.8 MB, free: 12.59 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.002978/0.4076, allocations: 1.551 MB / 457.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.4089, allocations: 0.5181 MB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4089, allocations: 0 / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.4095, allocations: 270.3 kB / 458.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.4105, allocations: 142.8 kB / 458.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.4214, allocations: 6.534 MB / 464.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.4221, allocations: 0.9666 MB / 465.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000473/0.4226, allocations: 102.4 kB / 465.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.4231, allocations: 307.5 kB / 466.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4231, allocations: 0 / 466.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.4724, allocations: 16.1 MB / 482.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.797/10.27, allocations: 8.469 kB / 482.2 MB, free: 7.938 MB / 382.1 MB " [Timeout remaining time 650] (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: 14.454721440997673]