Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001653/0.001653, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002024/0.002024, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 51.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2652, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006238/0.2714, allocations: 4.124 MB / 400.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.2746, allocations: 1.665 MB / 402.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.2753, allocations: 13.97 kB / 402.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2764, allocations: 421 kB / 402.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.2776, allocations: 422.3 kB / 403 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.2783, allocations: 310.2 kB / 403.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.2795, allocations: 1.022 MB / 404.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.2799, allocations: 194 kB / 404.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.2804, allocations: 422.1 kB / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.281, allocations: 492.5 kB / 405.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2811, allocations: 97.41 kB / 405.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.2813, allocations: 128.4 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.2815, allocations: 233.1 kB / 405.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2818, allocations: 365.9 kB / 406.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2831, allocations: 1.283 MB / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2831, allocations: 0 / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2831, allocations: 1.281 kB / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.2831, allocations: 0 / 407.5 MB, free: 2.684 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002122/0.2852, allocations: 1.156 MB / 408.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2853, allocations: 20.81 kB / 408.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.2854, allocations: 102.9 kB / 408.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.2855, allocations: 102.8 kB / 408.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.2864, allocations: 0.4951 MB / 409.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.2864, allocations: 46.81 kB / 409.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.2865, allocations: 70.12 kB / 409.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2877, allocations: 0.6702 MB / 410.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.2877, allocations: 5.141 kB / 410.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.2878, allocations: 25.41 kB / 410.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2878, allocations: 14.16 kB / 410.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.289, allocations: 0.5519 MB / 410.7 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.2931, allocations: 2.103 MB / 412.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2941, allocations: 448.8 kB / 413.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.2948, allocations: 279.5 kB / 413.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.2949, allocations: 9.812 kB / 413.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.2949, allocations: 42.73 kB / 413.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/0.2949, allocations: 0 / 413.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004942/0.2999, allocations: 1.497 MB / 415.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2999, allocations: 57 kB / 415.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.3013, allocations: 0.9546 MB / 416.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.3014, allocations: 39.11 kB / 416.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.3018, allocations: 405.8 kB / 416.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.302, allocations: 218.6 kB / 416.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.3023, allocations: 125.2 kB / 416.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3024, allocations: 331.6 kB / 417.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.3031, allocations: 241.5 kB / 417.4 MB, free: 12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.3038, allocations: 347.8 kB / 417.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3051, allocations: 0.5662 MB / 418.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3051, allocations: 0 / 418.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001699/0.3068, allocations: 0.738 MB / 419.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3068, allocations: 7.188 kB / 419.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3068, allocations: 6.875 kB / 419.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3068, allocations: 4.938 kB / 419.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.3076, allocations: 170.2 kB / 419.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3076, allocations: 5.312 kB / 419.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.3082, allocations: 38.84 kB / 419.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.3083, allocations: 25.39 kB / 419.3 MB, free: 10.97 MB / 334.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 (83): * Single equations (assignments): 83 * 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.0004545/0.3087, allocations: 273.8 kB / 419.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.3089, allocations: 89.44 kB / 419.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3104, allocations: 0.6407 MB / 420.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3104, allocations: 5.531 kB / 420.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3104, allocations: 1.406 kB / 420.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3104, allocations: 0 / 420.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.3136, allocations: 1.561 MB / 421.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3136, allocations: 4 kB / 421.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.3142, allocations: 140 kB / 422 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.3142, allocations: 7.984 kB / 422 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.3142, allocations: 16 kB / 422 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.3142, allocations: 4 kB / 422 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.3142, allocations: 4 kB / 422 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3158, allocations: 0.7494 MB / 422.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.3161, allocations: 135.4 kB / 422.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3162, allocations: 12 kB / 422.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.3167, allocations: 39.95 kB / 423 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3168, allocations: 52.25 kB / 423 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.3168, allocations: 23.98 kB / 423.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009813/0.3178, allocations: 0.6826 MB / 423.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3178, allocations: 0 / 423.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.3184, allocations: 151.9 kB / 423.9 MB, free: 7.086 MB / 334.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 (61): * Single equations (assignments): 61 * 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.003171/0.3216, allocations: 1.581 MB / 425.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3231, allocations: 0.5536 MB / 426 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3231, allocations: 4 kB / 426 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006388/0.3237, allocations: 266.2 kB / 426.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.3246, allocations: 123.6 kB / 426.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.3358, allocations: 6.506 MB / 432.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.3363, allocations: 367.1 kB / 433.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.3367, allocations: 97.03 kB / 433.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.3372, allocations: 291.3 kB / 433.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3372, allocations: 3.938 kB / 433.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/0.4038, allocations: 16.69 MB / 450.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.08, allocations: 0 / 450.3 MB, free: 12.13 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 14.9298062059097]