Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 120.5 kB / 17.79 MB, free: 5.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 210.6 kB / 20.75 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003105/0.003105, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1597, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2719/0.4316, allocations: 6.562 MB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.4355, allocations: 2.394 MB / 435.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.436, allocations: 23.16 kB / 435.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.4368, allocations: 371.8 kB / 435.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.4379, allocations: 0.5376 MB / 436.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.4388, allocations: 452.7 kB / 436.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.4405, allocations: 1.562 MB / 438.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.441, allocations: 357.9 kB / 438.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.4419, allocations: 0.6108 MB / 439.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.4428, allocations: 0.6843 MB / 439.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.443, allocations: 160.8 kB / 440 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.4434, allocations: 197.4 kB / 440.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.4437, allocations: 327.8 kB / 440.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.4443, allocations: 0.6878 MB / 441.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.4467, allocations: 1.982 MB / 443.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4467, allocations: 1.25 kB / 443.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4467, allocations: 0 / 443.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.4468, allocations: 0 / 443.2 MB, free: 3.441 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.003121/0.4499, allocations: 1.574 MB / 444.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4499, allocations: 10.28 kB / 444.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.4501, allocations: 146.8 kB / 445 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.4507, allocations: 172 kB / 445.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4518, allocations: 0.7436 MB / 445.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/0.4518, allocations: 74.12 kB / 445.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.452, allocations: 94.97 kB / 446 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4538, allocations: 0.9873 MB / 447 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.4539, allocations: 2 kB / 447 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.4539, allocations: 39.47 kB / 447.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.454, allocations: 24.47 kB / 447.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.4557, allocations: 0.8167 MB / 447.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.4618, allocations: 3.666 MB / 451.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.4639, allocations: 0.5831 MB / 452.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/0.4646, allocations: 295.1 kB / 452.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.4646, allocations: 11.77 kB / 452.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4647, allocations: 39.95 kB / 452.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/0.4647, allocations: 1.438 kB / 452.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004797/0.4695, allocations: 1.691 MB / 454.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.4696, allocations: 88.58 kB / 454.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.4712, allocations: 1.042 MB / 455.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.4712, allocations: 36.83 kB / 455.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.4717, allocations: 0.5647 MB / 455.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.472, allocations: 243 kB / 456.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.4723, allocations: 162.1 kB / 456.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4724, allocations: 340.5 kB / 456.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/0.4733, allocations: 304.6 kB / 456.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.4743, allocations: 0.4917 MB / 457.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.476, allocations: 0.7841 MB / 458.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.476, allocations: 2.438 kB / 458.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002329/0.4784, allocations: 0.9651 MB / 459.2 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4784, allocations: 11.98 kB / 459.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4784, allocations: 6.625 kB / 459.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4784, allocations: 8.688 kB / 459.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4797, allocations: 270.5 kB / 459.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.4797, allocations: 18.83 kB / 459.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.4806, allocations: 51.86 kB / 459.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.4806, allocations: 42.36 kB / 459.6 MB, free: 9.871 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.0005159/0.4811, allocations: 289.1 kB / 459.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4813, allocations: 108.4 kB / 460 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.4822, allocations: 349.5 kB / 460.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4822, allocations: 14.69 kB / 460.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4822, allocations: 1.125 kB / 460.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4823, allocations: 3.984 kB / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.4866, allocations: 2.292 MB / 462.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4866, allocations: 7.312 kB / 462.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/0.4875, allocations: 211 kB / 462.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.4875, allocations: 9.312 kB / 462.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.4875, allocations: 23.7 kB / 462.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/0.4876, allocations: 15.12 kB / 462.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.4876, allocations: 7.031 kB / 462.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.4895, allocations: 1.036 MB / 463.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.4898, allocations: 200.6 kB / 464.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.4899, allocations: 18.69 kB / 464.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4906, allocations: 49.89 kB / 464.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4907, allocations: 65.31 kB / 464.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.4908, allocations: 30.45 kB / 464.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.4919, allocations: 0.7203 MB / 465 MB, free: 6.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4919, allocations: 0 / 465 MB, free: 6.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009337/0.4928, allocations: 216.8 kB / 465.2 MB, free: 6.059 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.003453/0.4963, allocations: 1.854 MB / 467.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4981, allocations: 0.6953 MB / 467.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4981, allocations: 6.031 kB / 467.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.4989, allocations: 344.3 kB / 468.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5002, allocations: 223.6 kB / 468.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.515, allocations: 8.454 MB / 476.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.5158, allocations: 1.034 MB / 477.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006773/0.5165, allocations: 131 kB / 477.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.5171, allocations: 407.3 kB / 478.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5171, allocations: 0 / 478.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05842/0.5755, allocations: 20.9 MB / 499.2 MB, free: 6.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.59, allocations: 11.69 kB / 499.3 MB, free: 6.816 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.312367402017117]