Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001635/0.001635, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001977/0.001977, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 51.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2815, allocations: 49.15 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005811/0.2873, allocations: 4.575 MB / 400.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.2901, allocations: 1.774 MB / 402.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.2905, allocations: 17.22 kB / 402.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.2914, allocations: 421.1 kB / 403.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008439/0.2922, allocations: 423.7 kB / 403.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.2928, allocations: 299.2 kB / 403.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2939, allocations: 1.021 MB / 404.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.2942, allocations: 215.2 kB / 405.1 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.2947, allocations: 418.3 kB / 405.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.2954, allocations: 0.5232 MB / 406 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2955, allocations: 96.19 kB / 406.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.2957, allocations: 129.8 kB / 406.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2959, allocations: 232.8 kB / 406.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.2962, allocations: 461 kB / 406.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2976, allocations: 1.272 MB / 408.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2976, allocations: 2.031 kB / 408.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2976, allocations: 0 / 408.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.2976, allocations: 3.938 kB / 408.2 MB, free: 2.051 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002437/0.3, allocations: 1.153 MB / 409.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.3001, allocations: 13.39 kB / 409.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.3003, allocations: 106.4 kB / 409.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.3005, allocations: 103.1 kB / 409.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.3015, allocations: 0.4989 MB / 410 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.3016, allocations: 46.38 kB / 410.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3017, allocations: 66.38 kB / 410.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.303, allocations: 0.6441 MB / 410.8 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.303, allocations: 9.109 kB / 410.8 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.3031, allocations: 29.56 kB / 410.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.3031, allocations: 14.03 kB / 410.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3045, allocations: 0.5528 MB / 411.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.3089, allocations: 2.468 MB / 413.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3099, allocations: 444.9 kB / 414.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.3106, allocations: 279.6 kB / 414.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.3107, allocations: 11.02 kB / 414.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.3107, allocations: 46.41 kB / 414.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.3107, allocations: 0 / 414.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004912/0.3156, allocations: 1.5 MB / 416.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.3157, allocations: 57.53 kB / 416.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.3171, allocations: 0.9446 MB / 417.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.3172, allocations: 44.02 kB / 417.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.3175, allocations: 404.8 kB / 417.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3177, allocations: 218.6 kB / 417.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.3179, allocations: 120.5 kB / 417.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3181, allocations: 333.3 kB / 418.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.3187, allocations: 244.8 kB / 418.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.3194, allocations: 345.3 kB / 418.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.3206, allocations: 0.5637 MB / 419.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3206, allocations: 1.312 kB / 419.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001688/0.3223, allocations: 0.738 MB / 420.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3223, allocations: 6.406 kB / 420.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3223, allocations: 2.5 kB / 420.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3223, allocations: 5.344 kB / 420.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.3231, allocations: 170.6 kB / 420.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.3231, allocations: 8.906 kB / 420.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.3238, allocations: 43.03 kB / 420.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.3238, allocations: 26.17 kB / 420.4 MB, free: 10.01 MB / 334.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 (83): * Single equations (assignments): 83 * 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.0005041/0.3243, allocations: 268.7 kB / 420.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.3245, allocations: 89.31 kB / 420.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.326, allocations: 0.6245 MB / 421.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3261, allocations: 6.656 kB / 421.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3261, allocations: 0 / 421.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3261, allocations: 3.984 kB / 421.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.3295, allocations: 1.785 MB / 423.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3295, allocations: 2.406 kB / 423.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.3301, allocations: 136.4 kB / 423.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.3301, allocations: 7.984 kB / 423.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.3302, allocations: 12 kB / 423.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/0.3302, allocations: 11.94 kB / 423.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3302, allocations: 0 / 423.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.3316, allocations: 0.7494 MB / 424 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.3318, allocations: 135.4 kB / 424.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.3319, allocations: 15.94 kB / 424.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3324, allocations: 39.97 kB / 424.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3325, allocations: 52.23 kB / 424.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.3325, allocations: 23.98 kB / 424.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009068/0.3334, allocations: 0.6825 MB / 425 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 425 MB, free: 6.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006279/0.3341, allocations: 152 kB / 425.1 MB, free: 6.031 MB / 334.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 (61): * Single equations (assignments): 61 * 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.003041/0.3371, allocations: 1.549 MB / 426.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3385, allocations: 0.5453 MB / 427.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3385, allocations: 3.938 kB / 427.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.3392, allocations: 283.2 kB / 427.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.34, allocations: 127 kB / 427.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3505, allocations: 6.51 MB / 434.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.3513, allocations: 0.9592 MB / 435.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.3517, allocations: 101 kB / 435.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.3522, allocations: 291.3 kB / 435.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3522, allocations: 0 / 435.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/0.4059, allocations: 16.14 MB / 451.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.1, allocations: 8 kB / 451.6 MB, free: 11.05 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.00159936 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.679091456004244]