Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001764/0.001764, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002007/0.002007, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 55.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 53.34 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007121/0.1111, allocations: 4.682 MB / 431 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1928/0.3039, allocations: 1.996 MB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.3042, allocations: 11.34 kB / 433 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.3048, allocations: 424 kB / 433.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.3055, allocations: 470 kB / 433.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.3061, allocations: 326.2 kB / 434.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008985/0.307, allocations: 1.03 MB / 435.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3073, allocations: 207.7 kB / 435.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.3078, allocations: 435.7 kB / 435.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.3084, allocations: 0.5436 MB / 436.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3085, allocations: 101.5 kB / 436.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.3087, allocations: 129.9 kB / 436.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3089, allocations: 236.1 kB / 436.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.3092, allocations: 468.6 kB / 437.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.3106, allocations: 1.304 MB / 438.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3106, allocations: 1.031 kB / 438.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3106, allocations: 0 / 438.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.3106, allocations: 0 / 438.6 MB, free: 5.922 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001969/0.3126, allocations: 1.238 MB / 439.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3126, allocations: 10.8 kB / 439.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.3127, allocations: 100.9 kB / 440 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.3132, allocations: 128.8 kB / 440.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000799/0.314, allocations: 0.5881 MB / 440.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.314, allocations: 47.91 kB / 440.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.3141, allocations: 59.19 kB / 440.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3152, allocations: 0.6297 MB / 441.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3152, allocations: 11.73 kB / 441.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.3152, allocations: 26.44 kB / 441.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3153, allocations: 13.91 kB / 441.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3163, allocations: 0.5183 MB / 442 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.3197, allocations: 2.544 MB / 444.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.3205, allocations: 454.5 kB / 445 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.3211, allocations: 261.9 kB / 445.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.3211, allocations: 14.59 kB / 445.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3211, allocations: 42.38 kB / 445.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.954e-06/0.3211, allocations: 0 / 445.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004063/0.3252, allocations: 1.459 MB / 446.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3252, allocations: 57.84 kB / 446.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3263, allocations: 0.974 MB / 447.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3264, allocations: 35.58 kB / 447.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.3266, allocations: 413.6 kB / 448.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3267, allocations: 223.7 kB / 448.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3269, allocations: 123.7 kB / 448.5 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.3269, allocations: 329 kB / 448.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.3276, allocations: 239.9 kB / 449.1 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.3283, allocations: 336.1 kB / 449.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3294, allocations: 0.5489 MB / 450 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3294, allocations: 5.156 kB / 450 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001487/0.3309, allocations: 0.7102 MB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3309, allocations: 10.28 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3309, allocations: 2.5 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3309, allocations: 5.922 kB / 450.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.3317, allocations: 165.3 kB / 450.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.3317, allocations: 10.19 kB / 450.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.3322, allocations: 36.95 kB / 450.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3323, allocations: 23.75 kB / 450.9 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0003813/0.3326, allocations: 274.1 kB / 451.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3328, allocations: 86.06 kB / 451.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3341, allocations: 0.6174 MB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3341, allocations: 6.281 kB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3342, allocations: 0.875 kB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.3342, allocations: 4.359 kB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3371, allocations: 1.785 MB / 453.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3371, allocations: 2.25 kB / 453.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.3376, allocations: 123.6 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.3376, allocations: 4.719 kB / 453.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.3377, allocations: 20.42 kB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3377, allocations: 4.828 kB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3377, allocations: 8.391 kB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3389, allocations: 0.7276 MB / 454.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.3392, allocations: 214.5 kB / 454.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.3393, allocations: 18.42 kB / 454.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.3397, allocations: 30.3 kB / 454.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.3398, allocations: 51.69 kB / 454.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.3398, allocations: 18.66 kB / 454.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008403/0.3407, allocations: 0.6987 MB / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3407, allocations: 0 / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005871/0.3413, allocations: 158 kB / 455.8 MB, free: 12.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002782/0.3441, allocations: 1.547 MB / 457.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3454, allocations: 0.5177 MB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3454, allocations: 1.75 kB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.3459, allocations: 267.2 kB / 458.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.3467, allocations: 139.1 kB / 458.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/0.3565, allocations: 6.538 MB / 464.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.3573, allocations: 0.9682 MB / 465.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000535/0.3578, allocations: 100.7 kB / 465.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.3583, allocations: 306.5 kB / 466.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3583, allocations: 0 / 466.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.4044, allocations: 16.1 MB / 482.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.536/9.941, allocations: 8.469 kB / 482.3 MB, free: 7.941 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 15.860454661073163]