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.001601/0.001601, allocations: 120.1 kB / 17.79 MB, free: 5.27 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.001752/0.001752, allocations: 198.8 kB / 20.73 MB, free: 2.332 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.591/1.591, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.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.001516/0.001516, allocations: 51.92 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009079/0.1294, allocations: 6.438 MB / 424.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.1343, allocations: 2.201 MB / 426.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.1349, allocations: 23.88 kB / 426.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.136, allocations: 361.8 kB / 426.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1372, allocations: 496.7 kB / 427.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1382, allocations: 450.8 kB / 427.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.1401, allocations: 1.542 MB / 429.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006189/0.1407, allocations: 357.4 kB / 429.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.1414, allocations: 0.588 MB / 430.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.1423, allocations: 0.677 MB / 430.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.1425, allocations: 163.9 kB / 431 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.1428, allocations: 180 kB / 431.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.1431, allocations: 323 kB / 431.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.1437, allocations: 0.6727 MB / 432.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.1461, allocations: 1.934 MB / 434.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1461, allocations: 0 / 434.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1461, allocations: 0 / 434.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.1461, allocations: 0 / 434.1 MB, free: 12.15 MB / 366.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.003447/0.1495, allocations: 1.572 MB / 435.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1496, allocations: 12.03 kB / 435.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/0.1499, allocations: 148.2 kB / 435.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.1501, allocations: 136.1 kB / 436 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1514, allocations: 0.7168 MB / 436.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.1515, allocations: 74.38 kB / 436.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.1516, allocations: 99.89 kB / 436.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.1536, allocations: 1.013 MB / 437.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.1537, allocations: 4 kB / 437.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.1537, allocations: 40 kB / 437.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.1538, allocations: 27.94 kB / 438 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.1558, allocations: 0.8796 MB / 438.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.1614, allocations: 3.634 MB / 442.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.1645, allocations: 0.8751 MB / 443.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.1653, allocations: 338.1 kB / 443.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.1653, allocations: 8 kB / 443.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.1654, allocations: 42.42 kB / 443.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.096e-06/0.1654, allocations: 3.938 kB / 443.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005218/0.1706, allocations: 1.807 MB / 445.5 MB, free: 404 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1707, allocations: 89.05 kB / 445.6 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2392/0.4099, allocations: 0.9726 MB / 446.6 MB, free: 29.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.41, allocations: 35.95 kB / 446.6 MB, free: 29.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.4104, allocations: 0.5384 MB / 447.2 MB, free: 29.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.4106, allocations: 239.9 kB / 447.4 MB, free: 29.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.4108, allocations: 157.8 kB / 447.6 MB, free: 29.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.4109, allocations: 334.5 kB / 447.9 MB, free: 29.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.4118, allocations: 344.5 kB / 448.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4129, allocations: 0.5252 MB / 448.8 MB, free: 29.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.4146, allocations: 0.8303 MB / 449.6 MB, free: 28.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4146, allocations: 0 / 449.6 MB, free: 28.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002353/0.417, allocations: 1.021 MB / 450.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.417, allocations: 9.125 kB / 450.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.417, allocations: 5.188 kB / 450.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.417, allocations: 8.688 kB / 450.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4183, allocations: 286.9 kB / 450.9 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.4183, allocations: 13.19 kB / 450.9 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.4192, allocations: 70.55 kB / 451 MB, free: 28.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.4192, allocations: 34.78 kB / 451 MB, free: 28.79 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.0004256/0.4197, allocations: 286.8 kB / 451.3 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4198, allocations: 108.4 kB / 451.4 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4208, allocations: 386.3 kB / 451.8 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4209, allocations: 8.234 kB / 451.8 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4209, allocations: 0 / 451.8 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4209, allocations: 4.391 kB / 451.8 MB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.4251, allocations: 2.301 MB / 454.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.4251, allocations: 6.375 kB / 454.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/0.4261, allocations: 205.3 kB / 454.3 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.4261, allocations: 13.38 kB / 454.3 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.4261, allocations: 22.19 kB / 454.3 MB, free: 27.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.4261, allocations: 18.39 kB / 454.4 MB, free: 27.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.4261, allocations: 8.438 kB / 454.4 MB, free: 27.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.4279, allocations: 1.036 MB / 455.4 MB, free: 26.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.4281, allocations: 188.3 kB / 455.6 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4282, allocations: 20.92 kB / 455.6 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.4288, allocations: 54.94 kB / 455.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4289, allocations: 68.55 kB / 455.7 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.429, allocations: 28.08 kB / 455.8 MB, free: 26.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009259/0.4299, allocations: 0.681 MB / 456.4 MB, free: 26.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4299, allocations: 2.625 kB / 456.4 MB, free: 26.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008538/0.4308, allocations: 208.3 kB / 456.6 MB, free: 26.01 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.003051/0.4338, allocations: 1.861 MB / 458.5 MB, free: 24.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.4358, allocations: 0.7258 MB / 459.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4358, allocations: 1.312 kB / 459.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.4366, allocations: 358 kB / 459.6 MB, free: 24.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4378, allocations: 200.2 kB / 459.8 MB, free: 24.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.4513, allocations: 8.439 MB / 468.2 MB, free: 19.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.4519, allocations: 1.02 MB / 469.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006622/0.4526, allocations: 124.3 kB / 469.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.4531, allocations: 379.1 kB / 469.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4531, allocations: 4 kB / 469.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04773/0.5008, allocations: 20.2 MB / 489.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.35, allocations: 6.922 kB / 489.9 MB, free: 4.836 MB / 366.1 MB " [Timeout remaining time 650] (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: 13.222584554925561]