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.0008673/0.0008673, allocations: 84.72 kB / 20.67 MB, free: 3.883 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.0007581/0.0007581, allocations: 145.1 kB / 23.93 MB, free: 0.625 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.8638/0.8638, allocations: 173.4 MB / 200.5 MB, free: 9.414 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.094e-06/2.094e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.282e-05, allocations: 9.656 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007134/0.007157, allocations: 5.7 MB / 324.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.01066, allocations: 2.111 MB / 326.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.0111, allocations: 23.88 kB / 326.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.01176, allocations: 361.7 kB / 326.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008591/0.01262, allocations: 0.4964 MB / 327.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.01323, allocations: 470 kB / 327.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.01442, allocations: 1.576 MB / 329.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.01481, allocations: 333.9 kB / 329.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.01548, allocations: 0.8771 MB / 330.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.01598, allocations: 0.522 MB / 330.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.01611, allocations: 163.9 kB / 331 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.01629, allocations: 191.9 kB / 331.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.01648, allocations: 326.9 kB / 331.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.01682, allocations: 466.9 kB / 332 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.01806, allocations: 1.982 MB / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01807, allocations: 0 / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01807, allocations: 0 / 334 MB, free: 6.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.01809, allocations: 0 / 334 MB, free: 6.734 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.001863/0.01995, allocations: 1.485 MB / 335.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.02, allocations: 12.92 kB / 335.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.02013, allocations: 148.2 kB / 335.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.02027, allocations: 136.1 kB / 335.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.02109, allocations: 0.6505 MB / 336.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.02114, allocations: 70.38 kB / 336.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/0.02123, allocations: 100.3 kB / 336.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.02251, allocations: 1.071 MB / 337.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.02253, allocations: 4 kB / 337.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.02259, allocations: 36 kB / 337.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.02262, allocations: 23.98 kB / 337.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.02384, allocations: 0.8796 MB / 338.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.02725, allocations: 3.036 MB / 341.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.02895, allocations: 0.8524 MB / 342.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.0294, allocations: 343.3 kB / 342.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.02944, allocations: 8 kB / 342.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.02947, allocations: 50.55 kB / 342.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.753e-06/0.02947, allocations: 0 / 342.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002824/0.0323, allocations: 1.814 MB / 344.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.03236, allocations: 97.06 kB / 344.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.0333, allocations: 0.9934 MB / 345.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.03334, allocations: 41.7 kB / 345.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.03367, allocations: 0.535 MB / 346.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.03381, allocations: 234 kB / 346.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.034, allocations: 158.5 kB / 346.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.03411, allocations: 334 kB / 347.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.03465, allocations: 345.8 kB / 347.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.03526, allocations: 0.5223 MB / 347.9 MB, free: 8.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.03635, allocations: 0.8248 MB / 348.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.03635, allocations: 0 / 348.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001367/0.03772, allocations: 1.016 MB / 349.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.03774, allocations: 8 kB / 349.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.03775, allocations: 11.94 kB / 349.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.03778, allocations: 11.94 kB / 349.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.0384, allocations: 287.6 kB / 350.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.03841, allocations: 15.92 kB / 350.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.03877, allocations: 63.94 kB / 350.1 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.03882, allocations: 39.98 kB / 350.2 MB, free: 6.059 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.0002837/0.0391, allocations: 285.6 kB / 350.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.0392, allocations: 103.3 kB / 350.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.03978, allocations: 385 kB / 350.9 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.03978, allocations: 11.94 kB / 350.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.03979, allocations: 0 / 350.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.0398, allocations: 7.984 kB / 351 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.0422, allocations: 2.099 MB / 353.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.04221, allocations: 11.94 kB / 353.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.04262, allocations: 208.2 kB / 353.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.04263, allocations: 11.94 kB / 353.3 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.04267, allocations: 23.98 kB / 353.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.04267, allocations: 11.94 kB / 353.3 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.04268, allocations: 8 kB / 353.3 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.0437, allocations: 1.025 MB / 354.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.04382, allocations: 119.3 kB / 354.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.04389, allocations: 20 kB / 354.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.04418, allocations: 51.95 kB / 354.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.04428, allocations: 75.66 kB / 354.6 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.04432, allocations: 31.98 kB / 354.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006093/0.04493, allocations: 0.6708 MB / 355.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04493, allocations: 0 / 355.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.04542, allocations: 211.9 kB / 355.5 MB, free: 480 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.002269/0.04769, allocations: 1.872 MB / 357.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.04927, allocations: 0.7338 MB / 358.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.04927, allocations: 0 / 358.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.04983, allocations: 357.8 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.0007635/0.05059, allocations: 195.2 kB / 358.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.06003, allocations: 8.429 MB / 367.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.06035, allocations: 439 kB / 367.5 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.06074, allocations: 123.2 kB / 367.6 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.06113, allocations: 384.4 kB / 368 MB, free: 3.547 MB / 330.7 MB Notification: Performance of SimCode: time 1.704e-06/0.06113, allocations: 0 / 368 MB, free: 3.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.09819, allocations: 21.73 MB / 389.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.559, allocations: 3.984 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.432122793979943]