Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001284/0.001284, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001373/0.001373, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2855, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007104/0.2926, allocations: 4.647 MB / 427.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.2964, allocations: 1.823 MB / 429.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.2971, allocations: 11.94 kB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.2982, allocations: 418.3 kB / 429.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2996, allocations: 437.6 kB / 429.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.3006, allocations: 311.5 kB / 430.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.3023, allocations: 1.024 MB / 431.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.3028, allocations: 204 kB / 431.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006174/0.3034, allocations: 426.7 kB / 431.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006978/0.3041, allocations: 0.5294 MB / 432.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.3043, allocations: 96 kB / 432.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.3045, allocations: 124 kB / 432.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.3048, allocations: 231.2 kB / 432.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.3053, allocations: 465.6 kB / 433.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3069, allocations: 1.272 MB / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3069, allocations: 0 / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3069, allocations: 8 kB / 434.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.3069, allocations: 0 / 434.6 MB, free: 2.594 MB / 334.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.002591/0.3095, allocations: 1.15 MB / 435.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3095, allocations: 8.031 kB / 435.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.3097, allocations: 106.7 kB / 435.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.3099, allocations: 108.3 kB / 436 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.311, allocations: 495.2 kB / 436.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.311, allocations: 49.62 kB / 436.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3111, allocations: 63.94 kB / 436.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.3125, allocations: 0.648 MB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3125, allocations: 3.953 kB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.3126, allocations: 31.94 kB / 437.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3126, allocations: 12 kB / 437.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.3139, allocations: 0.5594 MB / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.3189, allocations: 2.453 MB / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3199, allocations: 458 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.3207, allocations: 282 kB / 441 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.3207, allocations: 12.42 kB / 441 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.3208, allocations: 35 kB / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/0.3208, allocations: 4 kB / 441 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004783/0.3256, allocations: 1.501 MB / 442.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3256, allocations: 55.91 kB / 442.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.327, allocations: 0.9458 MB / 443.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.3271, allocations: 33.7 kB / 443.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.3274, allocations: 412.7 kB / 444 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.3277, allocations: 218.2 kB / 444.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.3279, allocations: 118.6 kB / 444.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3281, allocations: 338 kB / 444.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.3287, allocations: 241.8 kB / 444.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.3294, allocations: 343.1 kB / 445.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3307, allocations: 0.5633 MB / 445.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3307, allocations: 7.938 kB / 445.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001727/0.3324, allocations: 0.7386 MB / 446.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.3325, allocations: 8 kB / 446.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3325, allocations: 4 kB / 446.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.3325, allocations: 4 kB / 446.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.3333, allocations: 176 kB / 446.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3333, allocations: 4 kB / 446.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.3339, allocations: 43.95 kB / 446.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.334, allocations: 20 kB / 446.8 MB, free: 6.078 MB / 350.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.0004535/0.3344, allocations: 265.6 kB / 447 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3346, allocations: 95.42 kB / 447.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3361, allocations: 0.6305 MB / 447.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3361, allocations: 12 kB / 447.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3361, allocations: 0 / 447.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3361, allocations: 3.984 kB / 447.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.3395, allocations: 1.771 MB / 449.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.3395, allocations: 4 kB / 449.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.3401, allocations: 131.8 kB / 449.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.3401, allocations: 7.984 kB / 449.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3402, allocations: 16 kB / 449.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.3402, allocations: 8.312 kB / 449.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3402, allocations: 8 kB / 449.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.3417, allocations: 0.7455 MB / 450.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.3421, allocations: 131.4 kB / 450.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.3422, allocations: 16 kB / 450.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.3426, allocations: 35.97 kB / 450.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3427, allocations: 52.23 kB / 450.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.3427, allocations: 23.98 kB / 450.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009242/0.3437, allocations: 0.6826 MB / 451.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3437, allocations: 3.938 kB / 451.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006334/0.3443, allocations: 151.9 kB / 451.5 MB, free: 1.117 MB / 350.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.003051/0.3474, allocations: 1.549 MB / 453.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3489, allocations: 0.5571 MB / 453.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3489, allocations: 0 / 453.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.3495, allocations: 275.3 kB / 453.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.3505, allocations: 138 kB / 454 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.3615, allocations: 6.51 MB / 460.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.3622, allocations: 0.9592 MB / 461.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.3626, allocations: 93.03 kB / 461.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.3631, allocations: 295.3 kB / 461.9 MB, free: 6.562 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3631, allocations: 0 / 461.9 MB, free: 6.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/0.4163, allocations: 16.14 MB / 478 MB, free: 6.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.99, allocations: 7.922 kB / 478 MB, free: 6.551 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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.00159936 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.68826150699897]