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.001755/0.001755, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001606/0.001606, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.002033/0.002033, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 53.37 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009003/0.3178, allocations: 5.818 MB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.3227, allocations: 2.283 MB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009726/0.3237, allocations: 23.88 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.3246, allocations: 361.8 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.3261, allocations: 0.5355 MB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/0.3271, allocations: 455.3 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.3288, allocations: 1.577 MB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.3294, allocations: 354 kB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.3303, allocations: 0.6113 MB / 443.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008424/0.3311, allocations: 0.6809 MB / 443.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.3313, allocations: 160 kB / 443.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3316, allocations: 204 kB / 444.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.3319, allocations: 331 kB / 444.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.3325, allocations: 0.5522 MB / 445 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3345, allocations: 1.993 MB / 447 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3345, allocations: 3.938 kB / 447 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3345, allocations: 0 / 447 MB, free: 6.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.3345, allocations: 0 / 447 MB, free: 6.672 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.003116/0.3377, allocations: 1.497 MB / 448.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3377, allocations: 11.97 kB / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.3379, allocations: 152.3 kB / 448.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.3385, allocations: 172 kB / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3398, allocations: 0.6772 MB / 449.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.3399, allocations: 74 kB / 449.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.3401, allocations: 92 kB / 449.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.342, allocations: 1.036 MB / 450.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.342, allocations: 0 / 450.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.3421, allocations: 40 kB / 450.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3421, allocations: 24 kB / 450.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3439, allocations: 0.8171 MB / 451.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/0.3495, allocations: 3.057 MB / 454.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.3515, allocations: 0.5872 MB / 455.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.3522, allocations: 293.6 kB / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.3522, allocations: 12.38 kB / 455.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3522, allocations: 46.44 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.986e-06/0.3523, allocations: 3.938 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004627/0.3569, allocations: 1.696 MB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.357, allocations: 81.11 kB / 457.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.3585, allocations: 1.057 MB / 458.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.3586, allocations: 33.7 kB / 458.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.3591, allocations: 0.5623 MB / 459 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3593, allocations: 242 kB / 459.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.3596, allocations: 162.6 kB / 459.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3598, allocations: 345.9 kB / 459.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.3606, allocations: 309.8 kB / 460 MB, free: 9.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008947/0.3615, allocations: 499.1 kB / 460.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.3631, allocations: 0.7747 MB / 461.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3632, allocations: 4 kB / 461.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002227/0.3654, allocations: 0.9673 MB / 462.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3654, allocations: 12.03 kB / 462.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3654, allocations: 4 kB / 462.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.3655, allocations: 15.98 kB / 462.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3667, allocations: 275.5 kB / 462.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.3667, allocations: 11.98 kB / 462.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000914/0.3676, allocations: 55.89 kB / 462.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.3677, allocations: 39.94 kB / 462.7 MB, free: 6.527 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.0005139/0.3682, allocations: 293.6 kB / 462.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.3684, allocations: 107.3 kB / 463 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.3693, allocations: 354.4 kB / 463.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3693, allocations: 8 kB / 463.4 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.3693, allocations: 0 / 463.4 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3693, allocations: 7.922 kB / 463.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.3735, allocations: 2.094 MB / 465.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.3735, allocations: 8 kB / 465.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.3744, allocations: 208.2 kB / 465.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/0.3744, allocations: 12 kB / 465.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.3745, allocations: 20 kB / 465.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/0.3745, allocations: 15.92 kB / 465.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/0.3745, allocations: 11.94 kB / 465.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3764, allocations: 1.041 MB / 466.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.3767, allocations: 115.3 kB / 466.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3769, allocations: 27.98 kB / 467 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/0.3775, allocations: 47.95 kB / 467 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3777, allocations: 63.73 kB / 467.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.3777, allocations: 31.98 kB / 467.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.3789, allocations: 0.719 MB / 467.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3789, allocations: 0 / 467.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009401/0.3798, allocations: 219.9 kB / 468 MB, free: 0.8906 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.003675/0.3835, allocations: 1.881 MB / 469.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3854, allocations: 0.6987 MB / 470.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.3854, allocations: 0 / 470.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.3862, allocations: 345.7 kB / 470.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.3876, allocations: 223.1 kB / 471.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.4024, allocations: 8.456 MB / 479.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.4031, allocations: 447.9 kB / 480.1 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.4037, allocations: 127.5 kB / 480.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.4043, allocations: 399.3 kB / 480.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4043, allocations: 0 / 480.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/0.4707, allocations: 22.68 MB / 0.4915 GB, free: 13.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.06, allocations: 3.125 kB / 0.4915 GB, free: 13.49 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 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.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.829063320998102]