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.002672/0.002672, allocations: 109.5 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.002275/0.002275, allocations: 188.7 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.442/1.442, 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.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.001687/0.001687, allocations: 51.92 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3281, allocations: 52.2 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009913/0.338, allocations: 6.464 MB / 429.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.3432, allocations: 2.212 MB / 431.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3444, allocations: 23.88 kB / 431.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3457, allocations: 361.8 kB / 431.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.3479, allocations: 0.4889 MB / 432.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.3495, allocations: 450.3 kB / 432.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.3524, allocations: 1.538 MB / 434.2 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.353, allocations: 361.3 kB / 434.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.3539, allocations: 0.5957 MB / 435.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009177/0.3548, allocations: 0.6693 MB / 435.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.355, allocations: 160 kB / 435.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3554, allocations: 192 kB / 436.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.3557, allocations: 327 kB / 436.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007347/0.3565, allocations: 0.661 MB / 437.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.3589, allocations: 1.943 MB / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3589, allocations: 0 / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3589, allocations: 0 / 439 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.3589, allocations: 0 / 439 MB, free: 14.08 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00332/0.3622, allocations: 1.505 MB / 440.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3623, allocations: 8.031 kB / 440.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.3625, allocations: 152.1 kB / 440.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.3627, allocations: 136.1 kB / 440.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.364, allocations: 0.6512 MB / 441.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.3641, allocations: 74.38 kB / 441.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3642, allocations: 95.89 kB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3663, allocations: 1.017 MB / 442.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.3664, allocations: 0 / 442.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.3665, allocations: 36 kB / 442.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.3665, allocations: 24 kB / 442.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3686, allocations: 0.8874 MB / 443.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/0.3747, allocations: 3.543 MB / 447.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.3777, allocations: 0.8597 MB / 448 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.3785, allocations: 342.5 kB / 448.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.3785, allocations: 19.97 kB / 448.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.3786, allocations: 38.42 kB / 448.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.3786, allocations: 0 / 448.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005149/0.3837, allocations: 1.808 MB / 450.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.3838, allocations: 85.11 kB / 450.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3853, allocations: 0.978 MB / 451.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.3853, allocations: 37.7 kB / 451.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.3859, allocations: 0.5389 MB / 451.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.3861, allocations: 238 kB / 452.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3864, allocations: 158.5 kB / 452.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3865, allocations: 345.9 kB / 452.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009093/0.3874, allocations: 341.8 kB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3885, allocations: 0.5222 MB / 453.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.3903, allocations: 0.8164 MB / 454.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3903, allocations: 4 kB / 454.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002456/0.3928, allocations: 1.02 MB / 455.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3928, allocations: 8 kB / 455.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3928, allocations: 11.92 kB / 455.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3929, allocations: 8 kB / 455.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3941, allocations: 283.8 kB / 455.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.3941, allocations: 12 kB / 455.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.395, allocations: 67.92 kB / 455.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.3951, allocations: 39.98 kB / 455.7 MB, free: 12.91 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.000581/0.3957, allocations: 285.5 kB / 456 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.3958, allocations: 107.3 kB / 456.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3969, allocations: 390.1 kB / 456.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3969, allocations: 4 kB / 456.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3969, allocations: 4 kB / 456.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3969, allocations: 3.984 kB / 456.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.4013, allocations: 2.265 MB / 458.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4013, allocations: 12.03 kB / 458.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008679/0.4022, allocations: 203.6 kB / 458.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.4022, allocations: 12 kB / 459 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.4022, allocations: 19.98 kB / 459 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.4022, allocations: 19.94 kB / 459 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.4023, allocations: 11.94 kB / 459 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.4041, allocations: 1.044 MB / 460.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.4044, allocations: 115.3 kB / 460.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.4045, allocations: 19.98 kB / 460.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.4051, allocations: 55.83 kB / 460.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.4053, allocations: 67.78 kB / 460.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.4053, allocations: 28 kB / 460.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.4063, allocations: 0.6786 MB / 461 MB, free: 7.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4063, allocations: 0 / 461 MB, free: 7.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.4072, allocations: 207.9 kB / 461.2 MB, free: 7.145 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.003473/0.4106, allocations: 1.844 MB / 463.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.4126, allocations: 0.7412 MB / 463.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4126, allocations: 4 kB / 463.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.4134, allocations: 353.4 kB / 464.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.4147, allocations: 212.5 kB / 464.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.43, allocations: 8.426 MB / 472.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.431, allocations: 1.026 MB / 473.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007304/0.4317, allocations: 119.2 kB / 473.9 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.4324, allocations: 379.3 kB / 474.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.375e-06/0.4324, allocations: 0 / 474.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0636/0.496, allocations: 20.84 MB / 495.1 MB, free: 4.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.39, allocations: 11.88 kB / 495.2 MB, free: 4.953 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-07 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.285333256004378]