Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.00129/0.00129, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001392/0.001392, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.555/1.555, 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.252/0.3719, allocations: 6.563 MB / 432.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3768, allocations: 2.388 MB / 435.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.3779, allocations: 23.38 kB / 435.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3789, allocations: 368.3 kB / 435.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.3805, allocations: 0.5374 MB / 436.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3816, allocations: 444 kB / 436.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.3835, allocations: 1.574 MB / 438.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.3841, allocations: 355.9 kB / 438.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009356/0.385, allocations: 0.6054 MB / 439.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.3858, allocations: 0.6877 MB / 439.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.386, allocations: 160.8 kB / 440 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.3863, allocations: 201.1 kB / 440.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.3866, allocations: 329.3 kB / 440.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.3872, allocations: 0.6794 MB / 441.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.3896, allocations: 1.982 MB / 443.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3896, allocations: 5.891 kB / 443.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3896, allocations: 0 / 443.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.3897, allocations: 0 / 443.2 MB, free: 3.629 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003306/0.393, allocations: 1.58 MB / 444.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.393, allocations: 10 kB / 444.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.3932, allocations: 144.5 kB / 444.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.3937, allocations: 167.7 kB / 445.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3949, allocations: 0.7539 MB / 445.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.395, allocations: 73.09 kB / 445.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3951, allocations: 96.45 kB / 446 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.397, allocations: 0.9809 MB / 447 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.397, allocations: 1.703 kB / 447 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.3971, allocations: 40 kB / 447 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.3971, allocations: 23.38 kB / 447 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.3989, allocations: 0.8208 MB / 447.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/0.405, allocations: 3.661 MB / 451.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.4071, allocations: 0.5842 MB / 452.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.4078, allocations: 294.8 kB / 452.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.4078, allocations: 14.55 kB / 452.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4079, allocations: 41.78 kB / 452.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.575e-06/0.4079, allocations: 0 / 452.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005069/0.413, allocations: 1.679 MB / 454.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.413, allocations: 87.98 kB / 454.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.4149, allocations: 1.043 MB / 455.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.4149, allocations: 36.2 kB / 455.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.4154, allocations: 0.561 MB / 455.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.4157, allocations: 238.7 kB / 456.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.416, allocations: 165.5 kB / 456.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4162, allocations: 338.7 kB / 456.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008193/0.417, allocations: 307.4 kB / 456.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.418, allocations: 499.1 kB / 457.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.4197, allocations: 0.7811 MB / 458.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4197, allocations: 2.188 kB / 458.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002439/0.4221, allocations: 0.9752 MB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4221, allocations: 6.438 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4222, allocations: 6.812 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.4222, allocations: 10.47 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4234, allocations: 278.6 kB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/0.4235, allocations: 9.812 kB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4245, allocations: 55.8 kB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.4245, allocations: 39.11 kB / 459.5 MB, free: 10.09 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 (112): * Single equations (assignments): 112 * 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.0006321/0.4252, allocations: 292.6 kB / 459.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.4255, allocations: 108 kB / 459.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4265, allocations: 352.3 kB / 460.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4265, allocations: 6.562 kB / 460.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.4265, allocations: 5.375 kB / 460.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4265, allocations: 13.3 kB / 460.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004622/0.4312, allocations: 2.287 MB / 462.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.4312, allocations: 10.56 kB / 462.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/0.4321, allocations: 210.7 kB / 462.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.4321, allocations: 9.562 kB / 462.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.4322, allocations: 24.58 kB / 462.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/0.4322, allocations: 10.06 kB / 462.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.4322, allocations: 10.72 kB / 462.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.4344, allocations: 1.033 MB / 463.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.4348, allocations: 199.1 kB / 464.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4349, allocations: 23.14 kB / 464.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.4356, allocations: 50.27 kB / 464.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.4358, allocations: 61.22 kB / 464.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.4358, allocations: 30.91 kB / 464.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001293/0.4371, allocations: 0.7196 MB / 464.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4371, allocations: 0 / 464.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001179/0.4383, allocations: 217 kB / 465.2 MB, free: 6.277 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.003725/0.442, allocations: 1.857 MB / 467 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.4439, allocations: 0.6989 MB / 467.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/0.444, allocations: 1.125 kB / 467.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.4448, allocations: 348.2 kB / 468.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4465, allocations: 229.7 kB / 468.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.4614, allocations: 8.452 MB / 476.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/0.4623, allocations: 1.034 MB / 477.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006817/0.463, allocations: 125.3 kB / 477.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.4636, allocations: 407.2 kB / 478.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4636, allocations: 3.938 kB / 478.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07814/0.5417, allocations: 20.91 MB / 499.2 MB, free: 7.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.59, allocations: 9.938 kB / 499.2 MB, free: 7.113 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.231811035991996]