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.0009283/0.0009283, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 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.0008148/0.0008148, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 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 0.8805/0.8805, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 2.795e-06/2.795e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.599e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00724/0.007275, allocations: 5.711 MB / 324.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.01014, allocations: 2.119 MB / 326.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.01055, allocations: 19.94 kB / 326.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.01114, allocations: 357.6 kB / 326.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007338/0.01187, allocations: 0.4964 MB / 327.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.01245, allocations: 455.1 kB / 327.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01349, allocations: 1.584 MB / 329.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.01385, allocations: 333.9 kB / 329.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.01451, allocations: 0.8771 MB / 330.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.01496, allocations: 0.5221 MB / 330.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.01509, allocations: 156 kB / 331 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.01527, allocations: 195.9 kB / 331.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01546, allocations: 326.9 kB / 331.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.01576, allocations: 462.9 kB / 332 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.01703, allocations: 1.99 MB / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01704, allocations: 4 kB / 334 MB, free: 6.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01704, allocations: 0 / 334 MB, free: 6.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.01705, allocations: 0 / 334 MB, free: 6.73 MB / 298.7 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.001799/0.01885, allocations: 1.485 MB / 335.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.01889, allocations: 8.922 kB / 335.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.01901, allocations: 152.2 kB / 335.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.01915, allocations: 136.1 kB / 335.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.01992, allocations: 0.6505 MB / 336.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.01997, allocations: 74.38 kB / 336.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.02007, allocations: 100.3 kB / 336.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.02131, allocations: 1.064 MB / 337.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.02133, allocations: 0 / 337.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.02139, allocations: 40 kB / 337.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.0214, allocations: 24 kB / 337.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.02264, allocations: 0.8835 MB / 338.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.02589, allocations: 3.028 MB / 341.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.02758, allocations: 0.8563 MB / 342.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.02803, allocations: 337.5 kB / 342.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.02806, allocations: 11.98 kB / 342.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.02809, allocations: 46.5 kB / 342.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.943e-06/0.02809, allocations: 4 kB / 342.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002705/0.03079, allocations: 1.818 MB / 344.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.03084, allocations: 89.06 kB / 344.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.03165, allocations: 0.9973 MB / 345.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.03168, allocations: 33.7 kB / 345.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.03196, allocations: 0.5389 MB / 346.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.03209, allocations: 234 kB / 346.6 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.03226, allocations: 162.5 kB / 346.7 MB, free: 9.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.03235, allocations: 334 kB / 347.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.03287, allocations: 345.8 kB / 347.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.03346, allocations: 0.5145 MB / 347.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.03448, allocations: 0.8287 MB / 348.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.03449, allocations: 0 / 348.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001281/0.03577, allocations: 1.02 MB / 349.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03579, allocations: 10.81 kB / 349.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.03579, allocations: 7.938 kB / 349.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.03581, allocations: 15.94 kB / 349.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.03641, allocations: 287.6 kB / 350.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.03643, allocations: 11.94 kB / 350.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.03678, allocations: 63.94 kB / 350.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.03682, allocations: 35.98 kB / 350.2 MB, free: 6.07 MB / 314.7 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.000261/0.03708, allocations: 289.6 kB / 350.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.03718, allocations: 107.3 kB / 350.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.03771, allocations: 389 kB / 350.9 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.03772, allocations: 11.94 kB / 351 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.03773, allocations: 0 / 351 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.03773, allocations: 7.984 kB / 351 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.03998, allocations: 2.096 MB / 353.1 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.03998, allocations: 12.03 kB / 353.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.04039, allocations: 199.7 kB / 353.3 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.0404, allocations: 15.94 kB / 353.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.04043, allocations: 27.98 kB / 353.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.04044, allocations: 15.94 kB / 353.3 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.04044, allocations: 11.94 kB / 353.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.0414, allocations: 1.018 MB / 354.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.04152, allocations: 119.3 kB / 354.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.04159, allocations: 16 kB / 354.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.04189, allocations: 51.95 kB / 354.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.04198, allocations: 79.66 kB / 354.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.04201, allocations: 27.98 kB / 354.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005481/0.04256, allocations: 0.6786 MB / 355.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04256, allocations: 0 / 355.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004757/0.04304, allocations: 207.9 kB / 355.5 MB, free: 484 kB / 314.7 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.001705/0.04474, allocations: 1.867 MB / 357.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.04573, allocations: 0.7345 MB / 358.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.04573, allocations: 4.062 kB / 358.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.04617, allocations: 353.1 kB / 358.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.04687, allocations: 206.7 kB / 358.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.05544, allocations: 8.425 MB / 367.1 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.05573, allocations: 439 kB / 367.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.05606, allocations: 123.2 kB / 367.6 MB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.05642, allocations: 380.4 kB / 368 MB, free: 3.547 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05642, allocations: 0 / 368 MB, free: 3.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.09372, allocations: 21.72 MB / 389.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.444, allocations: 3.938 kB / 389.7 MB, free: 14.04 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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: 9.282343974336982]